sm.debugDraw.addAabb
Adds a named aabb debug draw.
Kind: Function
Environments: Game, Terrain
Game
sm.debugDraw.addAabb( name, min, max, color )
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string | The debug transform name. |
min |
Vec3 | The box minimum extent. |
max |
Vec3 | The box maximum extent. |
color (optional) |
Color | The color. Defaults to white. |
Terrain
sm.debugDraw.addAabb( name, min, max, color )
Open the full Terrain reference
Parameters: