sm.debugDraw.flashCircleTopDown
Flashes a circle for a specified duration.
Kind: Function
Environments: Game, Terrain
Game
sm.debugDraw.flashCircleTopDown( center, radius, color, duration )
Parameters:
| Name | Type | Description |
|---|---|---|
center |
Vec3 | The center position of the circle. |
radius (optional) |
number | The radius of the circle. Defaults to 0.125. |
color (optional) |
Color | The color of the circle. Defaults to white. |
duration (optional) |
number | The duration of the flash animation in seconds. Defaults to 0.5 seconds. |
Terrain
sm.debugDraw.flashCircleTopDown( center, radius, color, duration )
Open the full Terrain reference
Parameters:
| Name | Type | Description |
|---|---|---|
center |
Vec3 | The center position of the circle. |
radius (optional) |
number | The radius of the circle. Defaults to 0.125. |
color (optional) |
Color | The color of the circle. Defaults to white. |
duration (optional) |
number | The duration of the flash animation in seconds. Defaults to 0.5 seconds. |