Created
November 27, 2020 10:05
-
-
Save andijakl/1b77fc31787cf0b61ca513bb1397b3fd to your computer and use it in GitHub Desktop.
Properties of the DepthImageVisualizer class for Unity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DepthImageVisualizer : MonoBehaviour | |
{ | |
public ARCameraManager CameraManager | |
{ | |
get => _cameraManager; | |
set => _cameraManager = value; | |
} | |
[SerializeField] | |
[Tooltip("The ARCameraManager which will produce camera frame events.")] | |
private ARCameraManager _cameraManager; | |
public AROcclusionManager OcclusionManager | |
{ | |
get => _occlusionManager; | |
set => _occlusionManager = value; | |
} | |
[SerializeField] | |
[Tooltip("The AROcclusionManager which will produce depth textures.")] | |
private AROcclusionManager _occlusionManager; | |
public RawImage RawImage | |
{ | |
get => _rawImage; | |
set => _rawImage = value; | |
} | |
[SerializeField] | |
[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