Edytuj

Udostępnij za pośrednictwem


TestUtilities.DirectionRelativeToPlayspace(Vector3) Method

Definition

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.

Applies to