sm.debugDraw.drawArrowTopDown

Draws an arrow.

Kind: Function

Environments: Game, Terrain

Game

sm.debugDraw.drawArrowTopDown( from, to, color )

Open the full Game reference

Parameters:

Name Type Description
from Vec3 The starting position of the arrow.
to (optional) Vec3 The ending position of the arrow. Defaults to the starting position plus one unit along the z-axis (world up vector).
color (optional) Color The color of the arrow. Defaults to white.

Terrain

sm.debugDraw.drawArrowTopDown( from, to, color )

Open the full Terrain reference

Parameters:

Name Type Description
from Vec3 The starting position of the arrow.
to (optional) Vec3 The ending position of the arrow. Defaults to the starting position plus one unit along the z-axis (world up vector).
color (optional) Color The color of the arrow. Defaults to white.