TestUtilities.RotationRelativeToPlayspace(Quaternion) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.