Method | Description | |
---|---|---|
ArrowCap ( int controlID, Vector3 position, |
Draw an arrow like those used by the move tool.
|
|
ArrowHandleCap ( int controlID, Vector3 position, |
Draw an arrow like those used by the move tool.
|
|
BeginGUI ( ) : void |
Begin a 2D GUI block inside the 3D handle GUI.
|
|
Button ( Vector3 position, |
||
Button ( Vector3 position, |
||
CircleCap ( int controlID, Vector3 position, |
Draw a camera-facing Circle. Pass this into handle functions.
|
|
CircleHandleCap ( int controlID, Vector3 position, |
Draw a circle handle. Pass this into handle functions.
|
|
ClearCamera ( |
Clears the camera.
|
|
ConeCap ( int controlID, Vector3 position, |
Draw a Cone. Pass this into handle functions.
|
|
ConeHandleCap ( int controlID, Vector3 position, |
Draw a cone handle. Pass this into handle functions.
|
|
CubeCap ( int controlID, Vector3 position, |
Draw a cube. Pass this into handle functions.
|
|
CubeHandleCap ( int controlID, Vector3 position, |
Draw a cube handle. Pass this into handle functions.
|
|
CylinderCap ( int controlID, Vector3 position, |
Draw a Cylinder. Pass this into handle functions.
|
|
CylinderHandleCap ( int controlID, Vector3 position, |
Draw a cylinder handle. Pass this into handle functions.
|
|
Disc ( |
Make a 3D disc that can be dragged with the mouse.
|
Method | Description | |
---|---|---|
BeginGUI ( |
||
BeginLineDrawing ( |
||
Button ( int controlID, Vector3 position, |
||
Button ( int controlID, Vector3 position, |
||
ConeFrustrumHandle ( |
||
ConeHandle ( |
||
DistanceToPolygone ( Vector3 vertices ) : float | ||
DoBoneHandle ( |
||
DoBoneHandle ( |
||
DoConeFrustrumHandle ( |
||
DoConeHandle ( |
||
DoDrawAAConvexPolygon ( Vector3 points, int actualNumberOfPoints, float alpha ) : void | ||
DoDrawAAPolyLine ( Color colors, Vector3 points, int actualNumberOfPoints, |
||
DoPlanarHandle ( PlaneHandle planeID, Vector3 position, |
public static ArrowCap ( int controlID, Vector3 position, |
||
controlID | int | The control ID for the handle. |
position | Vector3 | The world-space position of the handle's start point. |
rotation | The rotation of the handle. | |
size | float | The size of the handle in world-space units. |
return | void |
public static ArrowHandleCap ( int controlID, Vector3 position, |
||
controlID | int | The control ID for the handle. |
position | Vector3 | The world-space position of the handle's start point. |
rotation | The rotation of the handle. | |
size | float | The size of the handle in world-space units. |
eventType | EventType | Event type for the handle to act upon. By design it handles EventType.Layout and EventType.Repaint events. |
return | void |
public static Button ( Vector3 position, |
||
position | Vector3 | |
direction | ||
size | float | |
pickSize | float | |
capFunction | CapFunction | |
return | bool |
public static Button ( Vector3 position, |
||
position | Vector3 | |
direction | ||
size | float | |
pickSize | float | |
capFunc | DrawCapFunction | |
return | bool |
public static CircleCap ( int controlID, Vector3 position, |
||
controlID | int | The control ID for the handle. |
position | Vector3 | The world-space position for the start of the handle. |
rotation | The rotation of the handle. | |
size | float | The size of the handle in world-space units. |
return | void |
public static CircleHandleCap ( int controlID, Vector3 position, |
||
controlID | int | The control ID for the handle. |
position | Vector3 | The world-space position of the handle's start point. |
rotation | The rotation of the handle. | |
size | float | The size of the handle in world-space units. |
eventType | EventType | Event type for the handle to act upon. By design it handles EventType.Layout and EventType.Repaint events. |
return | void |
public static ClearCamera ( |
||
position | Where in the Scene to clear. | |
camera | The camera to clear. | |
return | void |
public static ConeCap ( int controlID, Vector3 position, |
||
controlID | int | The control ID for the handle. |
position | Vector3 | The world-space position of the handle's start point. |
rotation | The rotation of the handle. | |
size | float | The size of the handle in world-space units. |
return | void |
public static ConeHandleCap ( int controlID, Vector3 position, |
||
controlID | int | The control ID for the handle. |
position | Vector3 | The world-space position of the handle's start point. |
rotation | The rotation of the handle. | |
size | float | The size of the handle in world-space units. |
eventType | EventType | Event type for the handle to act upon. By design it handles EventType.Layout and EventType.Repaint events. |
return | void |
public static CubeCap ( int controlID, Vector3 position, |
||
controlID | int | The control ID for the handle. |
position | Vector3 | The world-space position of the handle's start point. |
rotation | The rotation of the handle. | |
size | float | The size of the handle in world-space units. |
return | void |
public static CubeHandleCap ( int controlID, Vector3 position, |
||
controlID | int | The control ID for the handle. |
position | Vector3 | The world-space position of the handle's start point. |
rotation | The rotation of the handle. | |
size | float | The size of the handle in world-space units. |
eventType | EventType | Event type for the handle to act upon. By design it handles EventType.Layout and EventType.Repaint events. |
return | void |
public static CylinderCap ( int controlID, Vector3 position, |
||
controlID | int | The control ID for the handle. |
position | Vector3 | The world-space position of the handle's start point. |
rotation | The rotation of the handle. | |
size | float | The size of the handle in world-space units. |
return | void |
public static CylinderHandleCap ( int controlID, Vector3 position, |
||
controlID | int | The control ID for the handle. |
position | Vector3 | The world-space position of the handle's start point. |
rotation | The rotation of the handle. | |
size | float | The size of the handle in world-space units. |
eventType | EventType | Event type for the handle to act upon. By design it handles EventType.Layout and EventType.Repaint events. |
return | void |
public static Disc ( |
||
rotation | The rotation of the disc. | |
position | Vector3 | The center of the disc. |
axis | Vector3 | The axis to rotate around. |
size | float | The size of the disc in world space. |
cutoffPlane | bool | If true, only the front-facing half of the circle is draw / draggable. This is useful when you have many overlapping rotation axes (like in the default rotate tool) to avoid clutter. |
snap | float | The grid size to snap to. |
return |