跳转到内容

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