Class VolumeCamera
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
UnityEngine.Object.FindFirstObjectByType<T>()
UnityEngine.Object.FindAnyObjectByType<T>()
UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
Namespace: Unity.PolySpatial
Syntax
public class VolumeCamera : MonoBehaviour
Fields
CullingMask
Declaration
[Tooltip("Only objects in the selected layers will be visible inside this Volume Camera.")]
public LayerMask CullingMask
Field Value
Type | Description |
---|---|
LayerMask |
Properties
BackingCamera
Declaration
public Camera BackingCamera { get; }
Property Value
Type | Description |
---|---|
Camera |
Dimensions
Declaration
public Vector3 Dimensions { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
IsHostCameraAvailable
Declaration
public bool IsHostCameraAvailable { get; }
Property Value
Type | Description |
---|---|
Boolean |
OutputConfiguration
Declaration
public VolumeCameraConfiguration OutputConfiguration { get; set; }
Property Value
Type | Description |
---|---|
VolumeCameraConfiguration |
OutputDimensions
The dimensions in meters of the actual output size of the volume camera. May be different than Dimensions, in which case the space described by Dimensions is scaled to fit the OutputDimensions.
Declaration
public Vector3 OutputDimensions { get; }
Property Value
Type | Description |
---|---|
Vector3 |
OutputMode
The mode this volume camera will display its content in, Bounded or Unbounded.
Declaration
public VolumeCamera.PolySpatialVolumeCameraMode OutputMode { get; }
Property Value
Type | Description |
---|---|
VolumeCamera.PolySpatialVolumeCameraMode |
VolumeSpaceToWorldSpaceMatrix
Declaration
public Matrix4x4 VolumeSpaceToWorldSpaceMatrix { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
WorldSpaceToVolumeSpaceMatrix
Declaration
public Matrix4x4 WorldSpaceToVolumeSpaceMatrix { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |