Interface: MeshPrimitiveProps
WebSG.MeshPrimitiveProps
MeshPrimitiveProps is an interface for defining properties of a mesh primitive.
Table of contents
Properties
Properties
attributes
• attributes: Object
Type declaration
Name | Type |
---|---|
COLOR_0 | undefined | Accessor |
JOINTS_0 | undefined | Accessor |
NORMAL | undefined | Accessor |
POSITION | undefined | Accessor |
TANGENT | undefined | Accessor |
TEXCOORD_0 | undefined | Accessor |
TEXCOORD_1 | undefined | Accessor |
WEIGHTS_0 | undefined | Accessor |
Defined in
indices
• Optional
indices: Accessor
Defined in
material
• Optional
material: Material
Defined in
mode
• Optional
mode: MeshPrimitiveMode