MinMaxScaleConstraint.ApplyConstraint(MixedRealityTransform) 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.
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
- transform
- MixedRealityTransform
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.