Class DebugShapes
Debug class containing several debug shapes for debugging
Namespace: UnityEngine.Rendering
Syntax
public class DebugShapes : object
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 |