TestUtilities.DirectionRelativeToPlayspace(Vector3) 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 direction corresponding to the input local direction in playspace.
public:
static UnityEngine::Vector3 DirectionRelativeToPlayspace(UnityEngine::Vector3 localDirection);
public static UnityEngine.Vector3 DirectionRelativeToPlayspace (UnityEngine.Vector3 localDirection);
static member DirectionRelativeToPlayspace : UnityEngine.Vector3 -> UnityEngine.Vector3
Public Shared Function DirectionRelativeToPlayspace (localDirection As Vector3) As Vector3
Parameters
- localDirection
- UnityEngine.Vector3
The local direction.
Returns
UnityEngine.Vector3
The world direction.