Struct CameraPositionSettings
Defines how the view matrix is provided to the camera.
Inherited Members
Namespace: UnityEngine .Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Serializable]
public struct CameraPositionSettings
Fields
Name | Description |
---|---|
default | Default value. |
mode | Which mode to use for computing the view matrix. |
position | The world position of the camera during rendering. |
rotation | The world rotation of the camera during rendering. |
world |
The world to camera matrix to use. Important: This matrix must be in right-hand standard. Take care that Unity's transform system follow left-hand standard. |
Methods
Name | Description |
---|---|
Compute |
Compute the worldToCameraMatrix to use during rendering. |
Get |
Compute the world to camera matrix to use. |
New |
Default value. |