Language
Edit

ConstraintManager.ApplyTranslationConstraints Method

Definition

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.

Applies to