Properties:
Name | Type | Description |
---|---|---|
clockWise |
bool | (default: |
Extends
Methods
-
Builds a mesh.
Name Type Description vertices
Array.<Array.<number>> The vertices.
normals
Array.<Array.<number>> The vertex normals.
texAnchors
Array.<Array.<number>> The texture anchor points.
surfaces
Array.<object> The surfaces.
-
Assigns a material to a range of surfaces of the mesh.
Name Type Description material
shf3d.Material The material.
from
number The first surface of the range.
to
number The last surface of the range.