Language
Edit

ConstraintManager.ApplyScaleConstraints Method

Definition

Apply scale constraints to the given transform.

public void ApplyScaleConstraints(ref MixedReality.Toolkit.MixedRealityTransform transform, bool isOneHanded, bool isNear);
member this.ApplyScaleConstraints : MixedRealityTransform * bool * bool -> unit
Public Sub ApplyScaleConstraints (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 scale is being executed with one hand.

isNear
Boolean

The value should be true if the scale is being executed with a near interaction.

Applies to