Skip to content

Instantly share code, notes, and snippets.

Created November 27, 2020 10:05
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Properties of the DepthImageVisualizer class for Unity
public class DepthImageVisualizer : MonoBehaviour
public ARCameraManager CameraManager
get => _cameraManager;
set => _cameraManager = value;
[Tooltip("The ARCameraManager which will produce camera frame events.")]
private ARCameraManager _cameraManager;
public AROcclusionManager OcclusionManager
get => _occlusionManager;
set => _occlusionManager = value;
[Tooltip("The AROcclusionManager which will produce depth textures.")]
private AROcclusionManager _occlusionManager;
public RawImage RawImage
get => _rawImage;
set => _rawImage = value;
[Tooltip("The UI RawImage used to display the image on screen.")]
private RawImage _rawImage;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment