docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetViewPose

    SetViewPose(XrViewConfigurationType, int, Vector3, Quaternion, Vector4)

    Set the runtime ViewPose.

    Declaration
    public static extern void SetViewPose(XrViewConfigurationType viewConfigurationType, int viewIndex, Vector3 position, Quaternion orientation, Vector4 fov)
    Parameters
    Type Name Description
    XrViewConfigurationType viewConfigurationType

    The XrViewConfigurationType to use.

    int viewIndex

    The indexed view being set.

    Vector3 position

    Position of the view.

    Quaternion orientation

    Orientation of the view.

    Vector4 fov

    Field of View.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, November 1, 2023