docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugShapes

    Debug class containing several debug shapes for debugging

    Inheritance
    object
    DebugShapes
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public class DebugShapes

    Properties

    instance

    Singleton instance

    Declaration
    public static DebugShapes instance { get; }
    Property Value
    Type Description
    DebugShapes

    Methods

    RequestBoxMesh()

    Get a Box Mesh

    Declaration
    public Mesh RequestBoxMesh()
    Returns
    Type Description
    Mesh

    A Box Mesh

    RequestConeMesh()

    Get a Cone Mesh

    Declaration
    public Mesh RequestConeMesh()
    Returns
    Type Description
    Mesh

    A Cone Mesh

    RequestPyramidMesh()

    Get a Pyramid Mesh

    Declaration
    public Mesh RequestPyramidMesh()
    Returns
    Type Description
    Mesh

    A Pyramid Mesh

    RequestSphereMesh()

    Get a Sphere Mesh

    Declaration
    public Mesh RequestSphereMesh()
    Returns
    Type Description
    Mesh

    A Sphere Mesh

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    In This Article
    Back to top
    Copyright © 2025 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)