Modifier

TestUtilities.PlayspaceToArbitraryPose Method

Definition

Set the playspace to an arbitrary (but known) non-identity pose.

public:
 static void PlayspaceToArbitraryPose();
public static void PlayspaceToArbitraryPose ();
static member PlayspaceToArbitraryPose : unit -> unit
Public Shared Sub PlayspaceToArbitraryPose ()

Remarks

When using this arbitrary pose imposed on the playspace to better validate compliance with real world scenarios, it can be convenient to use the *RelativeToPlayspace() helpers below. For example, to place an object directly 8 meters in front of the camera, set its position to TestUtilities.PositionRelativeToPlayspace(0.0f, 0.0f, 8.0f). See also PlaceRelativeToPlayspace(Transform) to convert an object's local transform into a transform relative to the playspace.

Applies to