The Geometry class serves as a container for storing geometric information. It encapsulates data such as positions, normals, colors, and indices.
blendIndices: undefined | number[];
Blend indices.
blendWeights: undefined | number[];
Blend weights.
colors: undefined | number[];
Colors.
indices: undefined | number[];
Indices.
normals: undefined | number[];
Normals.
positions: undefined | number[];
Positions.
tangents: undefined | number[];
Tangents.
uvs: undefined | number[];
UVs.
uvs1: undefined | number[];
Additional Uvs.
calculateNormals(): void
Generates normal information from the positions and triangle indices.
void
calculateTangents(): void
Generates tangent information from the positions, normals, texture coordinates and triangle indices.
void