RotationAxisConstraint Class
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.
Component for limiting the rotation axes for ObjectManipulator or BoundsControl
public ref class RotationAxisConstraint : Microsoft::MixedReality::Toolkit::UI::TransformConstraint
public class RotationAxisConstraint : Microsoft.MixedReality.Toolkit.UI.TransformConstraint
type RotationAxisConstraint = class
inherit TransformConstraint
Public Class RotationAxisConstraint
Inherits TransformConstraint
- Inheritance
world |
(Inherited from TransformConstraint) |
Constraint |
Constrain rotation about an axis |
Constraint |
|
Execution |
Execution order priority of this constraint. Lower numbers will be executed before higher numbers. (Inherited from TransformConstraint) |
Hand |
Whether this constraint applies to one hand manipulation, two hand manipulation or both (Inherited from TransformConstraint) |
Proximity |
Whether this constraint applies to near manipulation, far manipulation or both (Inherited from TransformConstraint) |
Target |
Obsolete.
Transform that we intend to apply constraints to (Inherited from TransformConstraint) |
Use |
Gets or sets whether the constraints should be applied in local space of the object being manipulated or world space. |
Apply |
Removes rotation about given axis if its flag is found in ConstraintOnRotation |
Initialize(Mixed |
Obsolete.
Intended to be called on manipulation started (Inherited from TransformConstraint) |
Initialize(Mixed |
Intended to be called on manipulation started (Inherited from TransformConstraint) |
On |
(Inherited from TransformConstraint) |
On |
(Inherited from TransformConstraint) |
Product | 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 |