class ARFusedDepthRenderer (ARDK.Extensions.Depth.ARFusedDepthRenderer)

Overview

This component is used to capture the depth of the fused mesh. The view is provided by a camera owned by this component. The transform of the camera is updated using the tracking information extracted from the latest AR frame. More...

class ARFusedDepthRenderer: Niantic.ARDK.Extensions.ARSessionListener {
public:
    // properties

    RenderTexture GPUTexture;

    // methods

    virtual override void ApplyARConfigurationChange(ARSessionChangesCollector.ARSessionRunProperties properties);
    void Configure(RenderTarget target, LayerMask meshLayer);
};

Inherited Members

public:
    // properties

    bool AreFeaturesEnabled;
    bool CanInitialize;
    bool Initialized;

    // methods

    void Deinitialize();
    void DisableFeatures();
    void EnableFeatures();
    void Initialize();
    virtual abstract void ApplyARConfigurationChange(ARSessionChangesCollector.ARSessionRunProperties properties) = 0;

Detailed Documentation

This component is used to capture the depth of the fused mesh. The view is provided by a camera owned by this component. The transform of the camera is updated using the tracking information extracted from the latest AR frame.

Properties

RenderTexture GPUTexture

The GPU texture containing depth values of the fused mesh.

Methods

virtual override void ApplyARConfigurationChange(ARSessionChangesCollector.ARSessionRunProperties properties)

Inheritors should override this to modify session configuration settings based on their script's needs.

注釈

This is executed as a result of the ARSession being run, which may or may not be triggered by a call to RaiseConfigurationChanged().