• Handles

    Handles

    1. Static Variables
    2. centerColor Color to use for handles that represent the center of something.
    3. color Look up or set the Color of the handles.
    4. inverseMatrix The inverse of the matrix for all handle operations.
    5. lighting Are handles lit?
    6. matrix Matrix for all handle operations.
    7. secondaryColor Soft color to use for for less interactive UI, or handles that are used rarely (or not at all).
    8. selectedColor Color to use for the currently active handle.
    9. xAxisColor Color to use for handles that manipulate the X coordinate of something.
    10. yAxisColor Color to use for handles that manipulates the Y coordinate of something.
    11. zAxisColor Color to use for handles that manipulates the Z coordinate of something.
    1. Variables
    2. currentCamera Setup viewport and stuff for a current camera.
    3. Static Functions
    4. ArrowCap Draw an arrow like those used by the move tool.
    5. ArrowHandleCap Draw an arrow like those used by the move tool.
    6. BeginGUI Begin a 2D GUI block inside the 3D handle GUI.
    7. ##Button Make a 3D button.
    8. CircleCap Draw a camera-facing Circle. Pass this into handle functions.
    9. CircleHandleCap Draw a circle handle. Pass this into handle functions.
    10. ClearCamera Clears the camera.
    11. ConeCap Draw a Cone. Pass this into handle functions.
    12. ConeHandleCap Draw a cone handle. Pass this into handle functions.
    13. CubeCap Draw a cube. Pass this into handle functions.
    14. CubeHandleCap Draw a cube handle. Pass this into handle functions.
    15. CylinderCap Draw a Cylinder. Pass this into handle functions.
    16. CylinderHandleCap Draw a cylinder handle. Pass this into handle functions.
    17. Disc Make a 3D disc that can be dragged with the mouse.
    18. DotCap Draw a camera-facing dot. Pass this into handle functions.
    19. DotHandleCap Draw a dot handle. Pass this into handle functions.
    20. DrawAAConvexPolygon Draw anti-aliased convex polygon specified with point array.
    21. DrawAAPolyLine Draw anti-aliased line specified with point array and width.
    22. DrawBezier Draw textured bezier line through start and end points with the given tangents.
    23. DrawCamera Draws a camera inside a rectangle.
    24. DrawDottedLine Draw a dotted line from p1 to p2.
    25. DrawDottedLines Draw a list of dotted line segments.
    26. ##DrawLine Draw a line from p1 to p2.
    27. DrawLines Draw a list of line segments.
    28. DrawPolyLine Draw a line going through the list of all points.
    29. DrawSelectionFrame Draw a camera facing selection frame.
    30. DrawSolidArc Draw a circular sector (pie piece) in 3D space.
    31. DrawSolidDisc Draw a solid flat disc in 3D space.
    32. DrawSolidRectangleWithOutline Draw a solid outlined rectangle in 3D space.
    33. DrawWireArc Draw a circular arc in 3D space.
    34. DrawWireCube Draw a wireframe box with center and size.
    35. DrawWireDisc Draw the outline of a flat disc in 3D space.
    36. EndGUI End a 2D GUI block and get back to the 3D handle GUI.
    37. FreeMoveHandle Make an unconstrained movement handle.
    38. FreeRotateHandle Make an unconstrained rotation handle.
    39. GetMainGameViewSize Get the width and height of the main Game view.
    40. ##Label Make a text label positioned in 3D space.
    41. MakeBezierPoints Retuns an array of points to representing the bezier curve. See Handles.DrawBezier.
    42. ##PositionHandle Make a 3D Scene view position handle.
    43. RadiusHandle Make a Scene view radius handle.
    44. RectangleHandleCap Draw a rectangle handle. Pass this into handle functions.
    45. RotationHandle Make a Scene view rotation handle.
    46. ScaleHandle Make a Scene view scale handle.
    47. ScaleSlider Make a directional scale slider.
    48. ScaleValueHandle Make a single-float draggable handle.
    49. SelectionFrame Draw a camera facing selection frame.
    50. SetCamera Set the current camera so all Handles and Gizmos are draw with its settings.
    51. Slider Make a 3D slider.
    52. Slider2D Slide a handle in a 2D plane.
    53. SnapValue Rounds the value val to the closest multiple of snap (snap can only be positive).
    54. SphereCap Draw a Sphere. Pass this into handle functions.
    55. SphereHandleCap Draw a sphere handle. Pass this into handle functions.
    1. Delegates
    2. CapFunction The function to use for drawing the handle e.g. Handles.RectangleCap.
    3. DrawCapFunction The function to use for drawing the handle e.g. Handles.RectangleCap.