using UnityEngine;
namespace UnityEditor.Rendering
{
///
/// Set of utilities for gizmos
///
public static class GizmoUtility
{
/// Modifies the given for handles
/// The color to be modified
/// a
public static Color GetHandleColor(Color baseColor)
{
baseColor.a = 1f;
return baseColor;
}
/// Modifies the given for wire frames
/// The color to be modified
/// a
public static Color GetWireframeColor(Color baseColor)
{
baseColor.a = .7f;
return baseColor;
}
/// Modifies the given for wire frames behind objects
/// The color to be modified
/// a
public static Color GetWireframeColorBehindObjects(Color baseColor)
{
baseColor.a = .2f;
return baseColor;
}
}
}