constructor Method

Constructor for facets.

PolyfaceData(needNormals: booleanfalse, needParams: booleanfalse, needColors: booleanfalse, twoSided: booleanfalse): PolyfaceData

Parameter Type Description
needNormals boolean true to allocate empty normal data and index arrays; false (default) to leave undefined.
needParams boolean true to allocate empty uv parameter data and index arrays; false (default) to leave undefined.
needColors boolean true to allocate empty color data and index arrays; false (default) to leave undefined.
twoSided boolean true if the facets are to be considered viewable from the back; false (default) if not.

Returns - PolyfaceData

Defined in

Last Updated: 14 November, 2024