Properties
Accessors
Static
Modes
- get Modes(): {
LINE_LOOP: 2;
LINE_STRIP: 3;
LINES: 1;
POINTS: 0;
TRIANGLE_FAN: 6;
TRIANGLE_STRIP: 5;
TRIANGLES: 4;
} Returns {
LINE_LOOP: 2;
LINE_STRIP: 3;
LINES: 1;
POINTS: 0;
TRIANGLE_FAN: 6;
TRIANGLE_STRIP: 5;
TRIANGLES: 4;
}
Methods
mode
- mode(mode: 0 | 1 | 2 | 3 | 4 | 5 | 6): Primitive
Parameters
- mode: 0 | 1 | 2 | 3 | 4 | 5 | 6
this
A builder for the GLTF Primitive object
See
GLTF reference