Читати англійською Редагувати

Поділитися через


MixedRealityPlayspace Class

Definition

A static class encapsulating the Mixed Reality playspace.

C++
public ref class MixedRealityPlayspace abstract sealed
Inheritance
MixedRealityPlayspace

Properties

Position

The location of the playspace.

Rotation

The playspace's rotation.

Transform

The transform of the playspace.

Methods

AddChild(Transform)

Adds a child object to the playspace's hierarchy.

Destroy()
InitializeOnLoad()
InverseTransformDirection(Vector3)

Transforms a direction from world to local space.

InverseTransformPoint(Vector3)

Transforms a position from world to local space.

PerformTransformation(Action<Transform>)

Performs a playspace transformation.

RotateAround(Vector3, Vector3, Single)

Rotates the playspace around the specified axis.

RuntimeInitializeOnLoadMethod()
TransformDirection(Vector3)

Transforms a direction from local to world space.

TransformPoint(Vector3)

Transforms a position from local to world space.

Applies to

Продукт Версії
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0