TransformConstraint Class
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.
Base class for all constraints
public ref class TransformConstraint abstract : UnityEngine::MonoBehaviour
public abstract class TransformConstraint : UnityEngine.MonoBehaviour
type TransformConstraint = class
inherit MonoBehaviour
Public MustInherit Class TransformConstraint
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourTransformConstraint
- Derived
Constructors
TransformConstraint() |
Fields
worldPoseOnManipulationStart |
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() |