Class GizmoUtility
Set of utilities for gizmos
Namespace: UnityEditor.Rendering
Syntax
public static class GizmoUtility
Methods
GetHandleColor(Color)
Modifies the given Color for handles
Declaration
public static Color GetHandleColor(Color baseColor)
Parameters
Type | Name | Description |
---|---|---|
Color | baseColor | The color to be modified |
Returns
Type | Description |
---|---|
Color | a Color |
GetWireframeColor(Color)
Modifies the given Color for wire frames
Declaration
public static Color GetWireframeColor(Color baseColor)
Parameters
Type | Name | Description |
---|---|---|
Color | baseColor | The color to be modified |
Returns
Type | Description |
---|---|
Color | a Color |
GetWireframeColorBehindObjects(Color)
Modifies the given Color for wire frames behind objects
Declaration
public static Color GetWireframeColorBehindObjects(Color baseColor)
Parameters
Type | Name | Description |
---|---|---|
Color | baseColor | The color to be modified |
Returns
Type | Description |
---|---|
Color | a Color |