Edit

Share via


TestUtilities.RotationRelativeToPlayspace(Quaternion) Method

Definition

Compute the world rotation corresponding to the input local rotation in playspace.

public:
 static UnityEngine::Quaternion RotationRelativeToPlayspace(UnityEngine::Quaternion localRotation);
public static UnityEngine.Quaternion RotationRelativeToPlayspace (UnityEngine.Quaternion localRotation);
static member RotationRelativeToPlayspace : UnityEngine.Quaternion -> UnityEngine.Quaternion
Public Shared Function RotationRelativeToPlayspace (localRotation As Quaternion) As Quaternion

Parameters

localRotation
UnityEngine.Quaternion

The rotation in local space.

Returns

UnityEngine.Quaternion

The rotation in world space.

Applies to