docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GizmoUtility

    Set of utilities for gizmos

    Inheritance
    object
    GizmoUtility
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)