Static methods

staticconstructSubGeometry(verts:Vector<Float>, indices:Vector<UInt>, uvs:Vector<Float>, normals:Vector<Float>, tangents:Vector<Float>, weights:Vector<Float>, jointIndices:Vector<Float>, triangleOffset:Int):CompactSubGeometry

Build a sub-geometry from data vectors.

@:value({ triangleOffset : 0 })staticfromVectors(verts:Vector<Float>, indices:Vector<UInt>, uvs:Vector<Float>, normals:Vector<Float>, tangents:Vector<Float>, weights:Vector<Float>, jointIndices:Vector<Float>, triangleOffset:Int = 0):Vector<ISubGeometry>

Build a list of sub-geometries from raw data vectors, splitting them up in such a way that they won't exceed buffer length limits.

staticgetMeshSubMeshIndex(subMesh:SubMesh):Int

staticgetMeshSubgeometryIndex(subGeometry:ISubGeometry):Int

0 - 2: vertex position X, Y, Z 3 - 5: normal X, Y, Z 6 - 8: tangent X, Y, Z 9 - 10: U V 11 - 12: Secondary U V

@:value({ suvs : null, uvs : null, tangents : null, normals : null, vertices : null })staticinterleaveBuffers(numVertices:Int, ?vertices:Vector<Float>, ?normals:Vector<Float>, ?tangents:Vector<Float>, ?uvs:Vector<Float>, ?suvs:Vector<Float>):Vector<Float>