@twinfinity/core
    Preparing search index...

    Interface ModelMesh

    A single mesh with geometry data, style, and transform.

    interface ModelMesh {
        indexCount: number;
        style: ModelMeshStyle;
        vertexCount: number;
        getVertexData(): Promise<BimVertexData>;
    }
    Index

    Properties

    indexCount: number

    Material/style applied to this mesh.

    vertexCount: number

    Methods

    • Resolves the vertex positions, normals, and indices for this mesh.

      Returns Promise<BimVertexData>