Editar

Compartilhar via


MoveAxisConstraint Class

Definition

Component for limiting the translation axes for ObjectManipulator or BoundsControl

public ref class MoveAxisConstraint : Microsoft::MixedReality::Toolkit::UI::TransformConstraint
public class MoveAxisConstraint : Microsoft.MixedReality.Toolkit.UI.TransformConstraint
type MoveAxisConstraint = class
    inherit TransformConstraint
Public Class MoveAxisConstraint
Inherits TransformConstraint
Inheritance
UnityEngine.MonoBehaviour
MoveAxisConstraint

Constructors

MoveAxisConstraint()

Fields

worldPoseOnManipulationStart (Inherited from TransformConstraint)

Properties

ConstraintOnMovement

Constrain movement along an axis

ConstraintType
ExecutionPriority

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

(Inherited from TransformConstraint)
HandType

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

(Inherited from TransformConstraint)
ProximityType

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

(Inherited from TransformConstraint)
TargetTransform
Obsolete.

Transform that we intend to apply constraints to

(Inherited from TransformConstraint)
UseLocalSpaceForConstraint

Relative to rotation at manipulation start or world

Methods

ApplyConstraint(MixedRealityTransform)

Removes movement along a given axis if its flag is found in ConstraintOnMovement

Initialize(MixedRealityPose)
Obsolete.

Intended to be called on manipulation started

(Inherited from TransformConstraint)
Initialize(MixedRealityTransform)

Intended to be called on manipulation started

(Inherited from TransformConstraint)
OnDisable() (Inherited from TransformConstraint)
OnEnable() (Inherited from TransformConstraint)

Applies to