ConstraintManager.ApplyTranslationConstraints 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 move or translation constraints to the given transform.
public void ApplyTranslationConstraints(ref MixedReality.Toolkit.MixedRealityTransform transform, bool isOneHanded, bool isNear);
member this.ApplyTranslationConstraints : MixedRealityTransform * bool * bool -> unit
Public Sub ApplyTranslationConstraints (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 move is being executed with one hand.
- isNear
- Boolean
The value should be true if the move is being executed with a near interaction.