Szerkesztés

Megosztás a következőn keresztül:


MinMaxScaleConstraint.ApplyConstraint(MixedRealityTransform) Method

Definition

Clamps the transform scale to the scale limits set by Microsoft.MixedReality.Toolkit.UI.MinMaxScaleConstraint.SetScaleLimits such that:

  • No one component of the returned vector will be greater than the max scale.
  • No one component of the returned vector will be less than the min scale.
  • The returned vector's direction will be the same as the given vector
public:
 override void ApplyConstraint(Microsoft::MixedReality::Toolkit::Utilities::MixedRealityTransform % transform);
public override void ApplyConstraint (ref Microsoft.MixedReality.Toolkit.Utilities.MixedRealityTransform transform);
override this.ApplyConstraint : MixedRealityTransform -> unit
Public Overrides Sub ApplyConstraint (ByRef transform As MixedRealityTransform)

Parameters

Applies to