Private
_boundingPrivate
_customPrivate
_triOptional
extraThis is an extremely advanced feature, and allows you to add custom attributes to the part You will need to understand how to use twgl.js to use this feature at the createBufferInfoFromArrays function
Private
indexPrivate
indexReadonly
namePrivate
normalPrivate
texcoordPrivate
vertexPrivate
vertexThis is a very advanced feature, and allows you to provide your own twgl.Arrays This is useful for creating custom renderables from existing data
The twgl.Arrays to use for the renderable
Private
addPrivate
addAdd a two triangle quad to the renderable part Each quad must be defined by 4 vertices and will get a normal calculated Each quad will get a unique normal, so no smooth shading
Vertex 1 of the quad
Vertex 2 of the quad
Vertex 3 of the quad
Vertex 4 of the quad
UV texture coordinate for vertex 1
UV texture coordinate for vertex 2
UV texture coordinate for vertex 3
UV texture coordinate for vertex 4
Private
addGenerated using TypeDoc
Manage parts or sections to be built into a model, must have at least one part