Documentation
    Preparing search index...

    No description provided.

    interface MeshPrimitiveDefinition {
        color0Data?: VertexColorAttributeDefinition;
        extents: AxisAlignedBoundingBox;
        indices?: TriangleIndicesAttributeDefinition;
        joints0Data?: VertexJointIndicesAttributeDefinition;
        material?: MaterialDefinition;
        mode: MeshPrimitiveMode;
        normalData?: {
            componentCount: 3;
            componentSize: 4;
            componentType: 5126;
            normalized: false;
        } & { buffer: Float32Array<ArrayBufferLike> };
        positionData: {
            componentCount: 3;
            componentSize: 4;
            componentType: 5126;
            normalized: false;
        } & { buffer: Float32Array<ArrayBufferLike> };
        texCoord0Data?: VertexTextureCoordinateAttributeDefinition;
        weights0Data?: VertexJointWeightsAttributeDefinition;
    }
    Index

    No description provided.

    No description provided.

    No description provided.

    No description provided.

    No description provided.

    GL rendering mode e.g. TRIANGLES, LINES, TRIANGLE_FAN, etc.

    normalData?: {
        componentCount: 3;
        componentSize: 4;
        componentType: 5126;
        normalized: false;
    } & { buffer: Float32Array<ArrayBufferLike> }

    No description provided.

    Type Declaration

    • componentCount: 3

      Number of components per element of data. For example, the element size of a Vector2 is 2.

    • componentSize: 4

      Number of bytes per component. For example, Float32 is 4 bytes. The full size of an element is calculated as componentCount * componentSize.

    • componentType: 5126

      Type of each component e.g. FLOAT, UNSIGNED_INT, etc.

    • normalized: false

      Specifies whether integer data values should be normalized (true) to [0, 1] (for unsigned types) or [-1, 1] (for signed types), or converted directly (false) when they are accessed.

    • buffer: Float32Array<ArrayBufferLike>

      Raw typed array of data.

    positionData: {
        componentCount: 3;
        componentSize: 4;
        componentType: 5126;
        normalized: false;
    } & { buffer: Float32Array<ArrayBufferLike> }

    No description provided.

    Type Declaration

    • componentCount: 3

      Number of components per element of data. For example, the element size of a Vector2 is 2.

    • componentSize: 4

      Number of bytes per component. For example, Float32 is 4 bytes. The full size of an element is calculated as componentCount * componentSize.

    • componentType: 5126

      Type of each component e.g. FLOAT, UNSIGNED_INT, etc.

    • normalized: false

      Specifies whether integer data values should be normalized (true) to [0, 1] (for unsigned types) or [-1, 1] (for signed types), or converted directly (false) when they are accessed.

    • buffer: Float32Array<ArrayBufferLike>

      Raw typed array of data.

    No description provided.

    No description provided.