Skip to content

setPath

setPath(app, entity, points, style): void

Defined in: sdk/src/render/pathRenderer.ts:22

Draws points as a path on entity, giving it a MeshRenderer if it has none. An empty result (a stroke of one point) clears what was drawn.

App

number

readonly Vec2[]

PathStyle

void