Engine API Reference - v2.6.1
    Preparing search index...

    Class Geometry

    The Geometry class serves as a container for storing geometric information. It encapsulates data such as positions, normals, colors, and indices.

    Hierarchy (View Summary)

    Index

    Properties

    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.

    Methods

    • Generates normal information from the positions and triangle indices.

      Returns void

    • Generates tangent information from the positions, normals, texture coordinates and triangle indices.

      Returns void