sm.debugDraw.drawRectTopDown

Draws a rectangle.

Kind: Function

Environments: Game, Terrain

Game

sm.debugDraw.drawRectTopDown( min, max, color )

Open the full Game reference

Parameters:

Name Type Description
min Vec3 The minimum extent of the rectangle.
max Vec3 The maximum extent of the rectangle.
color (optional) Color The color of the rectangle. Defaults to white.

Terrain

sm.debugDraw.drawRectTopDown( min, max, color )

Open the full Terrain reference

Parameters:

Name Type Description
min Vec3 The minimum extent of the rectangle.
max Vec3 The maximum extent of the rectangle.
color (optional) Color The color of the rectangle. Defaults to white.