Class VolumeCamera
Inherited Members
Namespace: Unity.PolySpatial
Assembly: solution.dll
Syntax
[Icon("Camera Gizmo")]
public class VolumeCamera : MonoBehaviour
Fields
Name | Description |
---|---|
Culling |
|
On |
An event that is triggered when a window that is showing this volume camera is closed (by the user or via code). |
On |
An event that is triggered when this volume camera's window gains or loses focus, as defined by the OS. The first argument is a boolean indicating if the window has focus or not. |
On |
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. |
On |
An event that is triggered when this volume camera's window is resized. 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. |
Open |
Properties
Name | Description |
---|---|
Backing |
|
Dimensions | |
Is |
|
Output |
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. |
Volume |
|
Window |
|
Window |
Returns true if a window that is showing the contents of this volume camera is focused. |
Window |
The mode this volume camera will display its content in, Bounded or Unbounded. |
Window |
Returns true if a window is open and showing the contents of this volume camera. |
World |
Methods
Name | Description |
---|---|
Close |
Request that the OS close the window that is showing the contents of this volume camera. Does nothing if the window is not open. |
Open |
Request that a window is opened to show the contents of this volume camera. Does nothing if the window is already open. |