Format
typescript
Gizmos.DrawWireCube(center, size, depthTest)class: Gizmos
Description
Draws a wireframe with a center and size.
Parameters
| param_name | type | description |
|---|---|---|
| center | Vector3 | The center coordinates. |
| size | Vector3 | The size. |
| depthTest | boolean? | Whether to perform depth testing. |
Return
| type | description |
|---|---|
void |
Code Example
typescript
OnUpdate(): void {
let center = new Vector3(0,0,0);
let size = new Vector3(1,1,1);
Gizmos.DrawWireCube(center,size);
}