docs.unity.cn
    Show / Hide Table of Contents

    Class GizmoUtility

    Set of utilities for gizmos

    Inheritance
    Object
    GizmoUtility
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023