Class MinMaxScaleConstraint
  
  Component for setting the min/max scale values for ObjectManipulator
or BoundsControl
    Inheritance
    
    
    MinMaxScaleConstraint
   
  
  
  Assembly: cs.temp.dll.dll
  
  
    public class MinMaxScaleConstraint : TransformConstraint
   
  Properties
  
  
  
  
  
  
  
  Declaration
  
    public override TransformFlags ConstraintType { get; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | TransformFlags |  | 
    
  
  Overrides
  
  
  
  
  
  Min/max scaling relative to initial scale if true
Declaration
  
    public bool RelativeToInitialState { get; set; }
   
  Property Value
  
  
  
  
  
  
  
  Declaration
  
    public float ScaleMaximum { get; set; }
   
  Property Value
  
  
  
  
  
  
  
  Declaration
  
    public float ScaleMinimum { get; set; }
   
  Property Value
  
  Methods
  
  
  
  
  
  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
Declaration
  
    public override void ApplyConstraint(ref MixedRealityTransform transform)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | MixedRealityTransform | transform |  | 
    
  
  Overrides
  
  
  
  
  
  
  
  Declaration
  
    public override void Initialize(MixedRealityTransform worldPose)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | MixedRealityTransform | worldPose |  | 
    
  
  Overrides