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.
Parameters
Section titled “Parameters”entity
Section titled “entity”number
points
Section titled “points”readonly Vec2[]
Returns
Section titled “Returns”void