Language
Edit

MinMaxScaleConstraint.ApplyConstraint(MixedRealityTransform) Method

Definition

Clamps the transform scale to the scale limits set by MinimumScale and MaximumScale.

public override void ApplyConstraint(ref MixedReality.Toolkit.MixedRealityTransform transform);
override this.ApplyConstraint : MixedRealityTransform -> unit
Public Overrides Sub ApplyConstraint (ByRef transform As MixedRealityTransform)

Parameters

Remarks

No one component of the returned vector will be greater than the max scale, and mo one component of the returned vector will be less than the min scale.

Applies to