THEOplayer Web SDK
    Preparing search index...

    Interface VRDirection

    Represents a direction in the VR feature.

    interface VRDirection {
        pitch: number;
        roll: number;
        yaw: number;
    }
    Index

    Properties

    Properties

    pitch: number

    The rotational position around the Y-axis.


    - This number is in the range of [-180, 180].

    roll: number

    The rotational position around the X-axis.


    - This number is in the range of [-180, 180].

    yaw: number

    The rotational position around the Z-axis.


    - This number is in the range of [-180, 180].