class DepthPointCloudManager (Niantic.ARDK.Extensions.Depth.DepthPointCloudManager)

Overview

This helper can be placed in a scene to help visualize the depth point cloud. All data is expected to come from ARSession. More…

class DepthPointCloudManager: Niantic.ARDK.Extensions.ARSessionListener {
public:
    // methods

    virtual override void ApplyARConfigurationChange(ARSessionChangesCollector.ARSessionRunProperties properties);
    void ToggleDrawPointCloud();
};

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 helper can be placed in a scene to help visualize the depth point cloud. All data is expected to come from ARSession.

Methods

virtual override void ApplyARConfigurationChange(ARSessionChangesCollector.ARSessionRunProperties properties)

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

Note

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

void ToggleDrawPointCloud()

When enabled, the next point cloud is saved and rendered until drawing is disabled.