API ReferenceSandbox
SandboxBaseExtensionsclass
object→SandboxBaseExtensions
Methods8
Showing 8 methods
public static void AddCube(Sandbox.VertexBuffer self, Vector3 center, Vector3 size, Rotation rot, Color32 color = null)
| Parameter | Type | Description |
|---|---|---|
| self | VertexBuffer | — |
| center | Vector3 | — |
| size | Vector3 | — |
| rot | Rotation | — |
| color = null | Color32 | — |
Returns:
void—public static void AddTriangle(Sandbox.VertexBuffer self, Sandbox.Vertex a, Sandbox.Vertex b, Sandbox.Vertex c)
| Parameter | Type | Description |
|---|---|---|
| self | VertexBuffer | — |
| a | Vertex | — |
| b | Vertex | — |
| c | Vertex | — |
Returns:
void—No results match this filter.