Class MoveAxisConstraint
Component for limiting the translation axes for ObjectManipulator or BoundsControl
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.UI
Assembly: cs.temp.dll.dll
Syntax
public class MoveAxisConstraint : TransformConstraint
Properties
ConstraintOnMovement
Constrain movement along an axis
Declaration
public AxisFlags ConstraintOnMovement { get; set; }
Property Value
Type | Description |
---|---|
AxisFlags |
ConstraintType
Declaration
public override TransformFlags ConstraintType { get; }
Property Value
Type | Description |
---|---|
TransformFlags |
Overrides
UseLocalSpaceForConstraint
Relative to rotation at manipulation start or world
Declaration
public bool UseLocalSpaceForConstraint { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
ApplyConstraint(ref MixedRealityTransform)
Removes movement along a given axis if its flag is found in ConstraintOnMovement
Declaration
public override void ApplyConstraint(ref MixedRealityTransform transform)
Parameters
Type | Name | Description |
---|---|---|
MixedRealityTransform | transform |