three-story-controls

Home > three-story-controls > CameraRig > getWorldCoordinates

CameraRig.getWorldCoordinates() method

Get world position and orientation of the camera

Signature:

getWorldCoordinates(): {
        position: Vector3;
        quaternion: Quaternion;
    };

Returns:

{ position: Vector3; quaternion: Quaternion; }