sm.debugDraw.drawSphereTopDown
Draws a sphere.
Kind: Function
Environments: Game, Terrain
Game
sm.debugDraw.drawSphereTopDown( center, radius, color )
Parameters:
| Name | Type | Description |
|---|---|---|
center |
Vec3 | The center position of the sphere. |
radius (optional) |
number | The radius of the sphere. Defaults to 0.125. |
color (optional) |
Color | The color of the sphere. Defaults to white. |
Terrain
sm.debugDraw.drawSphereTopDown( center, radius, color )
Open the full Terrain reference
Parameters: