Editar

Compartir a través de


TransformConstraint Class

Definition

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.MonoBehaviour
TransformConstraint
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()

Applies to