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