Interface IVertexDataLike
colors?: Nullable<FloatArray>;
indices?: Nullable<IndicesArray>;
matricesIndices?: Nullable<FloatArray>;
matricesIndicesExtra?: Nullable<FloatArray>;
matricesWeights?: Nullable<FloatArray>;
matricesWeightsExtra?: Nullable<FloatArray>;
normals?: Nullable<FloatArray>;
positions: Nullable<FloatArray>;
tangents?: Nullable<FloatArray>;
uvs?: Nullable<FloatArray>;
uvs2?: Nullable<FloatArray>;
uvs3?: Nullable<FloatArray>;
uvs4?: Nullable<FloatArray>;
uvs5?: Nullable<FloatArray>;
uvs6?: Nullable<FloatArray>;
}
Implemented by
Properties
Optionalcolors
An array of the r, g, b, a, color of each vertex [...., r, g, b, a, .....]
Optionalindices
An array of i, j, k the three vertex indices required for each triangular facet [...., i, j, k .....]
Optionalmatrices Indices
An array containing the list of indices to the array of matrices produced by bones, each vertex have up to 4 indices (8 if the matricesIndicesExtra is set).
Optionalmatrices Indices Extra
An array extending the number of possible indices
Optionalmatrices Weights
An array containing the list of weights defining the weight of each indexed matrix in the final computation
Optionalmatrices Weights Extra
An array extending the number of possible weights when the number of indices is extended
Optionalnormals
An array of the x, y, z normal vector of each vertex [...., x, y, z, .....]
positions
An array of the x, y, z position of each vertex [...., x, y, z, .....]
Optionaltangents
An array of the x, y, z, w tangent vector of each vertex [...., x, y, z, w, .....]
Optionaluvs
An array of u,v which maps a texture image onto each vertex [...., u, v, .....]
Optionaluvs2
A second array of u,v which maps a texture image onto each vertex [...., u, v, .....]
Optionaluvs3
A third array of u,v which maps a texture image onto each vertex [...., u, v, .....]
Optionaluvs4
A fourth array of u,v which maps a texture image onto each vertex [...., u, v, .....]
Optionaluvs5
A fifth array of u,v which maps a texture image onto each vertex [...., u, v, .....]
Optionaluvs6
A sixth array of u,v which maps a texture image onto each vertex [...., u, v, .....]
Interface used to define a object like a vertex data structure