Field OnWindowOpened
An event that is triggered when this volume camera's window is opened.
The first argument is the actual dimensions of the window in world space, or Vector3.zero if the volume is unbounded. The second argument is the actual dimensions of the content, which may be different due to aspect ratio mapping, in world space, or Vector3.zero if the volume is unbounded. The third argument is the output mode the window was opened in.
Any of these may be different from DesiredOutputDimensions or DesiredOutputMode, based on OS decisions.
Namespace: Unity.PolySpatial
Assembly: solution.dll
Syntax
[SerializeField]
[Tooltip("An event that is triggered when this volume camera's window is opened.")]
public UnityEvent<Vector3, Vector3, VolumeCamera.PolySpatialVolumeCameraMode> OnWindowOpened
Returns
Type | Description |
---|---|
UnityEvent<Vector3, Vector3, VolumeCamera.PolySpatialVolumeCameraMode> |