ConstraintManager Class

Definition

Manages constraints for a given object and ensures that Scale/Rotation/Translation constraints are executed separately.

C++
public ref class ConstraintManager : UnityEngine::MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
ConstraintManager
Attributes
UnityEngine.HelpURLAttribute

Constructors

Properties

AutoConstraintSelection

Per default, constraint manager will apply all to this gameobject attached constraint components automatically. If this flag is enabled, only the selected constraint list will be applied.

SelectedConstraints

Manually selected list of transform constraints. Note that this list will only be processed by the manager if AutoConstraintSelection is disabled. Note that this is a read only property. To add new constraints to the list call RegisterConstraint.

Methods

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