MeshD constructor
MeshD({
- Pointer<
MeshC> ? originalPointer, - int vertexCount = 0,
- int triangleCount = 0,
- int boneCount = 0,
- List<
double> ? vertices, - List<
double> ? texcoords, - List<
double> ? texcoords2, - List<
double> ? normals, - List<
double> ? tangents, - List<
int> ? colors, - List<
int> ? indices, - List<
double> ? animVertices, - List<
double> ? animNormals, - List<
int> ? boneIds, - List<
double> ? boneWeights, - List<
MatrixD> ? boneMatrices, - int vaoId = 0,
- List<
int> ? vboId,
Implementation
MeshD({
super.originalPointer,
this.vertexCount = 0,
this.triangleCount = 0,
this.boneCount = 0,
List<double>? vertices,
List<double>? texcoords,
List<double>? texcoords2,
List<double>? normals,
List<double>? tangents,
List<int>? colors,
List<int>? indices,
List<double>? animVertices,
List<double>? animNormals,
List<int>? boneIds,
List<double>? boneWeights,
List<MatrixD>? boneMatrices,
this.vaoId = 0,
List<int>? vboId,
}):
vertices = vertices ?? [],
texcoords = texcoords ?? [],
texcoords2 = texcoords2 ?? [],
normals = normals ?? [],
tangents = tangents ?? [],
colors = colors ?? [],
indices = indices ?? [],
animVertices = animVertices ?? [],
animNormals = animNormals ?? [],
boneIds = boneIds ?? [],
boneWeights = boneWeights ?? [],
boneMatrices = boneMatrices ?? [],
vboId = vboId ?? [];