Show / Hide Table of Contents

Class PrimitiveBoundsHandle

Inheritance
Object
PrimitiveBoundsHandle
BoxBoundsHandle
CapsuleBoundsHandle
SphereBoundsHandle
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditor.IMGUI.Controls
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
Type Description
PrimitiveBoundsHandle.Axes
| Improve this Doc View Source

center

Declaration
public Vector3 center { get; set; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

handleColor

Declaration
public Color handleColor { get; set; }
Property Value
Type Description
Color
| Improve this Doc View Source

midpointHandleDrawFunction

Declaration
public Handles.CapFunction midpointHandleDrawFunction { get; set; }
Property Value
Type Description
Handles.CapFunction
| Improve this Doc View Source

midpointHandleSizeFunction

Declaration
public Handles.SizeFunction midpointHandleSizeFunction { get; set; }
Property Value
Type Description
Handles.SizeFunction
| Improve this Doc View Source

wireframeColor

Declaration
public Color wireframeColor { get; set; }
Property Value
Type Description
Color

Methods

| Improve this Doc View Source

DefaultMidpointHandleSizeFunction(Vector3)

Declaration
public static float DefaultMidpointHandleSizeFunction(Vector3 position)
Parameters
Type Name Description
Vector3 position
Returns
Type Description
Single
| Improve this Doc View Source

DrawHandle()

Declaration
public void DrawHandle()
| Improve this Doc View Source

DrawWireframe()

Declaration
protected abstract void DrawWireframe()
| Improve this Doc View Source

GetSize()

Declaration
protected Vector3 GetSize()
Returns
Type Description
Vector3
| Improve this Doc View Source

IsAxisEnabled(Int32)

Declaration
protected bool IsAxisEnabled(int vector3Axis)
Parameters
Type Name Description
Int32 vector3Axis
Returns
Type Description
Boolean
| Improve this Doc View Source

IsAxisEnabled(PrimitiveBoundsHandle.Axes)

Declaration
protected bool IsAxisEnabled(PrimitiveBoundsHandle.Axes axis)
Parameters
Type Name Description
PrimitiveBoundsHandle.Axes axis
Returns
Type Description
Boolean
| Improve this Doc View Source

OnHandleChanged(PrimitiveBoundsHandle.HandleDirection, Bounds, Bounds)

Declaration
protected virtual Bounds OnHandleChanged(PrimitiveBoundsHandle.HandleDirection handle, Bounds boundsOnClick, Bounds newBounds)
Parameters
Type Name Description
PrimitiveBoundsHandle.HandleDirection handle
Bounds boundsOnClick
Bounds newBounds
Returns
Type Description
Bounds
| 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
Type Name Description
Vector3 size

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX