MeshRendererGeometry
此内容尚不支持你的语言。
Defined in: ecs/component.ts:990
Local-space geometry of a MeshRenderer renderable (triangle list, indexed).
positions is x,y pairs; uvs is u,v pairs (default 0,0); colors is r,g,b,a
floats (0-1) per vertex (default white). Uploaded via meshRenderer_setGeometry, which
validates indices engine-side.
Properties
Section titled “Properties”colors?
Section titled “colors?”
optionalcolors?:number[]
Defined in: ecs/component.ts:993
indices
Section titled “indices”indices:
number[]
Defined in: ecs/component.ts:994
positions
Section titled “positions”positions:
number[]
Defined in: ecs/component.ts:991
optionaluvs?:number[]
Defined in: ecs/component.ts:992