docs.unity3d.com
    Show / Hide Table of Contents

    Struct HDProbe.RenderData

    Store the settings computed during a rendering

    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [Serializable]
    public struct RenderData

    Constructors

    RenderData(Matrix4x4, Matrix4x4, Vector3, Quaternion, Single, Single)

    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.

    Single fov

    The field of view.

    Single 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 readonly float aspect { get; }
    Property Value
    Type Description
    Single

    capturePosition

    The capture position.

    Declaration
    public readonly Vector3 capturePosition { get; }
    Property Value
    Type Description
    Vector3

    captureRotation

    The capture rotation.

    Declaration
    public readonly Quaternion captureRotation { get; }
    Property Value
    Type Description
    Quaternion

    fieldOfView

    The field of view.

    Declaration
    public readonly float fieldOfView { get; }
    Property Value
    Type Description
    Single

    projectionMatrix

    Projection matrix.

    Declaration
    public readonly Matrix4x4 projectionMatrix { get; }
    Property Value
    Type Description
    Matrix4x4

    worldToCameraRHS

    World to camera matrix (Right Hand).

    Declaration
    public readonly Matrix4x4 worldToCameraRHS { get; }
    Property Value
    Type Description
    Matrix4x4
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023