ConstraintManager.ApplyRotationConstraints Method
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.
Apply rotation constraints to the given transform.
public void ApplyRotationConstraints(ref MixedReality.Toolkit.MixedRealityTransform transform, bool isOneHanded, bool isNear);
member this.ApplyRotationConstraints : MixedRealityTransform * bool * bool -> unit
Public Sub ApplyRotationConstraints (ByRef transform As MixedRealityTransform, isOneHanded As Boolean, isNear As Boolean)
Parameters
- transform
- MixedRealityTransform
The transform to be adjusted.
- isOneHanded
- Boolean
This value should be true if the rotation is being executed with one hand.
- isNear
- Boolean
The value should be true if the rotation is being executed with a near interaction.