Struct HDProbe.RenderData
Store the settings computed during a rendering
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Serializable]
public struct HDProbe.RenderData
Constructors
RenderData(Matrix4x4, Matrix4x4, Vector3, Quaternion, float, float)
Instantiate a new RenderData from specified inputs.
Declaration
public RenderData(Matrix4x4 worldToCameraRHS, Matrix4x4 projectionMatrix, Vector3 capturePosition, Quaternion captureRotation, float fov, float aspect)
Parameters
Type | Name | Description |
---|---|---|
Matrix4x4 | worldToCameraRHS | The world to camera matrix (Right Hand) |
Matrix4x4 | projectionMatrix | The projection matrix. |
Vector3 | capturePosition | The capture position. |
Quaternion | captureRotation | The capture rotation. |
float | fov | The field of view. |
float | aspect | The aspect ratio. |
RenderData(CameraSettings, CameraPositionSettings)
Instantiate a new RenderData from camera and position settings.
Declaration
public RenderData(CameraSettings camera, CameraPositionSettings position)
Parameters
Type | Name | Description |
---|---|---|
CameraSettings | camera | The camera settings used. |
CameraPositionSettings | position | The position settings used. |
Properties
aspect
The aspect ratio.
Declaration
public float aspect { get; }
Property Value
Type | Description |
---|---|
float |
capturePosition
The capture position.
Declaration
public Vector3 capturePosition { get; }
Property Value
Type | Description |
---|---|
Vector3 |
captureRotation
The capture rotation.
Declaration
public Quaternion captureRotation { get; }
Property Value
Type | Description |
---|---|
Quaternion |
fieldOfView
The field of view.
Declaration
public float fieldOfView { get; }
Property Value
Type | Description |
---|---|
float |
projectionMatrix
Projection matrix.
Declaration
public Matrix4x4 projectionMatrix { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
worldToCameraRHS
World to camera matrix (Right Hand).
Declaration
public Matrix4x4 worldToCameraRHS { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |