TestUtilities.PositionRelativeToPlayspace(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 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.