Documentation
    Preparing search index...

    Exposes a read-only view of a mesh primitive's geometry, as well as functionality for mutating it and having the changes automatically propagate to the GPU.

    Index
    colorAttribute: Readonly<VertexColorAttribute> | undefined

    No description provided.

    defaultMaterialDefinition: MaterialDefinition | undefined

    Default material as read from the asset's definition.

    Axis-aligned extents that the geometry of this mesh primitive is contained within.

    GL mode with which this primitive will be drawn. e.g. POINTS, LINES, TRIANGLES, etc.

    indicesAttribute: Readonly<TriangleIndicesAttribute>

    No description provided.

    jointIndicesAttribute: Readonly<VertexJointIndicesAttribute> | undefined

    No description provided.

    jointIndicesChanged: ObservableEvent

    No description provided.

    jointWeightsAttribute: Readonly<VertexJointWeightsAttribute> | undefined

    No description provided.

    jointWeightsChanged: ObservableEvent

    No description provided.

    normalAttribute: Readonly<VertexNormalAttribute>

    No description provided.

    positionAttribute: Readonly<VertexPositionAttribute>

    No description provided.

    textureCoordinatesAttribute:
        | Readonly<VertexTextureCoordinateAttribute>
        | undefined

    No description provided.

    triangleIndicesChanged: ObservableEvent

    No description provided.

    vertexColorsChanged: ObservableEvent

    No description provided.

    vertexNormalsChanged: ObservableEvent

    No description provided.

    vertexPositionsChanged: ObservableEvent

    No description provided.

    vertexTextureCoordinatesChanged: ObservableEvent

    No description provided.

    • get edges(): readonly Edge[]

      No description provided.

      Returns readonly Edge[]

    • get triangles(): readonly Triangle[]

      No description provided.

      Returns readonly Triangle[]

    • No description provided.

      Returns void