Editar

Compartilhar via


TestUtilities.PositionRelativeToPlayspace(Vector3) Method

Definition

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

public:
 static UnityEngine::Vector3 PositionRelativeToPlayspace(UnityEngine::Vector3 localPosition);
public static UnityEngine.Vector3 PositionRelativeToPlayspace (UnityEngine.Vector3 localPosition);
static member PositionRelativeToPlayspace : UnityEngine.Vector3 -> UnityEngine.Vector3
Public Shared Function PositionRelativeToPlayspace (localPosition As Vector3) As Vector3

Parameters

localPosition
UnityEngine.Vector3

The local position.

Returns

UnityEngine.Vector3

The world position.

Applies to