Constructor
Specification of when calculate the tangent of a vertex to apply Normal texture (for pbr/MToon shader) 0: Not calculate tangent (not apply normal texture) 1: (default) Use original tangent in a vertex, if a vertex has tangent attribute. If a vertex does not have it, calculate a tangent in a shader. 2: Use original tangent in a vertex, if a vertex has tangent attribute. If a vertex does not have it, precalculate a tangent in the javascript. 3: Calculate all tangent in a shader. 4: Precalculate all tangent in the javascript
Gets AABB in local space.
Adds primitive.
The primitive object.
true: updated, false: not changed (not dirty)
Gets true if these primitives are all 'Blend' type
Gets true if some primitives are 'Blend' type
Gets true if these primitives are all 'Opaque' type
true: updated, false: not changed (not dirty)
Generated using TypeDoc
The Mesh class. This mesh object has primitives (geometries) or a reference of 'original mesh'. If the latter, this mesh object is an 'instanced mesh', which has no primitives. Instanced meshes refer original mesh's primitives when drawing.