DenseSpatialMapDepthRenderer Class

Description

MonoBehaviour which controls depth data render DenseSpatialMap in the scene. It does not work in URP for now.


MonoBehaviour Messages

private void OnEnable()

private void OnDisable()

private void OnDestroy()


Fields

Shader

C#

public Shader Shader

Shader to render depth texture.


Properties

RenderDepthCamera

C#

public Camera RenderDepthCamera { get; set; }

Camera used to render depth texture.

MapMeshMaterial

C#

public Material MapMeshMaterial { get; set; }

Material used to render mesh.