Class CoreLightEditorUtilities | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class CoreLightEditorUtilities

    Inheritance
    System.Object
    CoreLightEditorUtilities
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: UnityEditor.Experimental.Rendering
    Syntax
    public static class CoreLightEditorUtilities

    Methods

    DrawArealightGizmo(Light)

    Declaration
    public static void DrawArealightGizmo(Light arealight)
    Parameters
    Type Name Description
    Light arealight

    DrawDirectionalLightGizmo(Light)

    Declaration
    public static void DrawDirectionalLightGizmo(Light directionalLight)
    Parameters
    Type Name Description
    Light directionalLight

    DrawInnerCone(Light, Single)

    Declaration
    public static void DrawInnerCone(Light spotlight, float innerSpotPercent)
    Parameters
    Type Name Description
    Light spotlight
    System.Single innerSpotPercent

    DrawLightOrthoFrustum(Vector3, Single, Single, Single, Single)

    Declaration
    public static void DrawLightOrthoFrustum(Vector3 center, float width, float height, float maxRange, float minRange)
    Parameters
    Type Name Description
    Vector3 center
    System.Single width
    System.Single height
    System.Single maxRange
    System.Single minRange

    DrawLightPyramidFrustum(Vector3, Single, Single, Single, Single)

    Declaration
    public static void DrawLightPyramidFrustum(Vector3 center, float fov, float maxRange, float minRange, float aspect)
    Parameters
    Type Name Description
    Vector3 center
    System.Single fov
    System.Single maxRange
    System.Single minRange
    System.Single aspect

    DrawPointlightGizmo(Light, Boolean)

    Declaration
    public static void DrawPointlightGizmo(Light pointlight, bool selected)
    Parameters
    Type Name Description
    Light pointlight
    System.Boolean selected

    DrawSpotlightGizmo(Light, Single, Boolean)

    Declaration
    public static void DrawSpotlightGizmo(Light spotlight, float innerSpotPercent, bool selected)
    Parameters
    Type Name Description
    Light spotlight
    System.Single innerSpotPercent
    System.Boolean selected

    DrawWireDisc(Quaternion, Vector3, Vector3, Single)

    Declaration
    public static void DrawWireDisc(Quaternion q, Vector3 position, Vector3 axis, float radius)
    Parameters
    Type Name Description
    Quaternion q
    Vector3 position
    Vector3 axis
    System.Single radius
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023