Lire en anglais Modifier

Partager via


TransformConstraint Class

Definition

Base class for all constraints

C++
public ref class TransformConstraint abstract : UnityEngine::MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
TransformConstraint
Derived

Constructors

Fields

Properties

ConstraintType
ExecutionPriority

Execution order priority of this constraint. Lower numbers will be executed before higher numbers.

HandType

Whether this constraint applies to one hand manipulation, two hand manipulation or both

ProximityType

Whether this constraint applies to near manipulation, far manipulation or both

TargetTransform
Obsolete.

Transform that we intend to apply constraints to

Methods

ApplyConstraint(MixedRealityTransform)

Abstract method for applying constraints to transforms during manipulation

Initialize(MixedRealityPose)
Obsolete.

Intended to be called on manipulation started

Initialize(MixedRealityTransform)

Intended to be called on manipulation started

OnDisable()
OnEnable()

Applies to

Produit Versions
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