Interface I3mfVertexData
interface I3mfVertexData {
colors?: ThreeMfFloatArray | null;
indices: ThreeMfIndicesArray | null;
normals?: ThreeMfFloatArray | null;
positions: ThreeMfFloatArray | null;
}
colors?: ThreeMfFloatArray | null;
indices: ThreeMfIndicesArray | null;
normals?: ThreeMfFloatArray | null;
positions: ThreeMfFloatArray | null;
}
Properties
Optionalcolors
An array of the r, g, b, a, color of each vertex [...., r, g, b, a, .....]
indices
An array of i, j, k the three vertex indices required for each triangular facet [...., i, j, k .....]
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, .....]
Interface used to define object data independaly of framework