docs.unity3d.com
    Show / Hide Table of Contents

    Class DebugShapes

    Debug class containing several debug shapes for debugging

    Inheritance
    Object
    DebugShapes
    Namespace: UnityEngine.Rendering
    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.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    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