ConstraintManager.ApplyScaleConstraints 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 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.