Class TransformScaleHandler
  
  Component for setting the min/max scale values for ManipulationHandler
or BoundingBox
 
  
  
    Inheritance
    
    TransformScaleHandler
   
  
  Assembly: cs.temp.dll.dll
  
  
    public class TransformScaleHandler : MonoBehaviour
   
  Properties
  
  
  
  
  
  
  
  Declaration
  
    public bool RelativeToInitialState { get; set; }
   
  Property Value
  
  
  
  
  
  
  
  Declaration
  
    public float ScaleMaximum { get; set; }
   
  Property Value
  
  
  
  
  
  
  
  Declaration
  
    public float ScaleMinimum { get; set; }
   
  Property Value
  
  
  
  
  
  
  
  Declaration
  
    public Transform TargetTransform { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | Transform | 
         | 
      
    
  
  Methods
  
  
  
  
  
  Clamps the given scale to the scale limits set by Microsoft.MixedReality.Toolkit.UI.TransformScaleHandler.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 Vector3 ClampScale(Vector3 scale)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Vector3 | 
        scale | 
        Scale value to clamp 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | Vector3 | 
        The clamped scale vector 
 | 
      
    
  
  
  
  
  
  
  
  Declaration