Class VolumeCameraWindowConfiguration
For window open/close/resize events that users can respond to.
Inherited Members
Namespace: Unity.PolySpatial
Assembly: Unity.PolySpatial.dll
Syntax
[CreateAssetMenu(fileName = "VolumeCameraWindowConfiguration", menuName = "PolySpatial/Volume Camera Window Configuration")]
public class VolumeCameraWindowConfiguration : ScriptableObject
Properties
Dimensions
The dimensions of the camera's output. This value cannot be changed at runtime and can only be modified on the asset.
Declaration
public Vector3 Dimensions { get; }
Property Value
Type | Description |
---|---|
Vector3 |
MaxWindowSize
If camera output is resizable, this is the maximum dimension range. This value cannot be changed at runtime and can only be modified on the asset.
Declaration
public Vector3 MaxWindowSize { get; }
Property Value
Type | Description |
---|---|
Vector3 |
MinWindowSize
If camera output is resizable, this is the minimum dimension range. This value cannot be changed at runtime and can only be modified on the asset.
Declaration
public Vector3 MinWindowSize { get; }
Property Value
Type | Description |
---|---|
Vector3 |
Mode
The mode (Bounded, Unbounded) of the camera's output. This value cannot be changed at runtime and can only be modified on the asset.
Declaration
public VolumeCamera.PolySpatialVolumeCameraMode Mode { get; }
Property Value
Type | Description |
---|---|
VolumeCamera.PolySpatialVolumeCameraMode |
WindowResizeLimits
Controls whether there are limits on a window's maximum or minimum size range when resizing the window. Only available when the mode is set to Bounded.
Declaration
public VolumeCamera.PolySpatialWindowResizeLimits WindowResizeLimits { get; }
Property Value
Type | Description |
---|---|
VolumeCamera.PolySpatialWindowResizeLimits |
WorldAlignment
Determines whether the volume window is aligned with gravity or should tilt to face the user.
Declaration
public VolumeCamera.PolySpatialWindowWorldAlignment WorldAlignment { get; }
Property Value
Type | Description |
---|---|
VolumeCamera.PolySpatialWindowWorldAlignment |