Class PrimitiveBoundsHandle
  
  
  
  
    Inheritance
    
    PrimitiveBoundsHandle
      
      
      
   
  
  
  Assembly: UnityEditor.dll
  Syntax
  
    public abstract class PrimitiveBoundsHandle
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  PrimitiveBoundsHandle()
  
  
  Declaration
  
    public PrimitiveBoundsHandle()
   
  
    |
    Improve this Doc
  
  
    View Source
  
  
  PrimitiveBoundsHandle(Int32)
  
  
  Declaration
  
    [Obsolete("Use parameterless constructor instead.")]
public PrimitiveBoundsHandle(int controlIDHint)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Int32 | controlIDHint |  | 
    
  
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  axes
  
  
  Declaration
  
    public PrimitiveBoundsHandle.Axes axes { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  center
  
  
  Declaration
  
    public Vector3 center { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  handleColor
  
  
  Declaration
  
    public Color handleColor { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  midpointHandleDrawFunction
  
  
  Declaration
  
    public Handles.CapFunction midpointHandleDrawFunction { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  midpointHandleSizeFunction
  
  
  Declaration
  
    public Handles.SizeFunction midpointHandleSizeFunction { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  wireframeColor
  
  
  Declaration
  
    public Color wireframeColor { get; set; }
   
  Property Value
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  DefaultMidpointHandleSizeFunction(Vector3)
  
  
  Declaration
  
    public static float DefaultMidpointHandleSizeFunction(Vector3 position)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Vector3 | position |  | 
    
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  DrawHandle()
  
  
  Declaration
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  DrawWireframe()
  
  
  Declaration
  
    protected abstract void DrawWireframe()
   
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetSize()
  
  
  Declaration
  
    protected Vector3 GetSize()
   
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  IsAxisEnabled(Int32)
  
  
  Declaration
  
    protected bool IsAxisEnabled(int vector3Axis)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Int32 | vector3Axis |  | 
    
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  IsAxisEnabled(PrimitiveBoundsHandle.Axes)
  
  
  Declaration
  
    protected bool IsAxisEnabled(PrimitiveBoundsHandle.Axes axis)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  OnHandleChanged(PrimitiveBoundsHandle.HandleDirection, Bounds, Bounds)
  
  
  Declaration
  
    protected virtual Bounds OnHandleChanged(PrimitiveBoundsHandle.HandleDirection handle, Bounds boundsOnClick, Bounds newBounds)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SetColor(Color)
  
  
  Declaration
  
    public void SetColor(Color color)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Color | color |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SetSize(Vector3)
  
  
  Declaration
  
    protected void SetSize(Vector3 size)
   
  Parameters
  
  Extension Methods