Documentation
    Preparing search index...

    Mutable set of geometry for a mesh primitive.

    interface MutableMeshPrimitiveGeometry {
        get jointIndices(): readonly JointIndices[] | undefined;
        get jointWeights(): readonly JointWeights[] | undefined;
        get triangleIndices(): readonly TriangleIndices[];
        get vertexColors(): readonly Color4[] | undefined;
        get vertexNormals(): readonly Vector3[];
        get vertexPositions(): readonly Vector3[];
        get vertexTextureCoordinates(): readonly Vector2[] | undefined;
        recomputeVertexNormals(): void;
    }
    Index
    • get jointIndices(): readonly JointIndices[] | undefined

      No description provided.

      Returns readonly JointIndices[] | undefined

    • get jointWeights(): readonly JointWeights[] | undefined

      No description provided.

      Returns readonly JointWeights[] | undefined

    • get vertexColors(): readonly Color4[] | undefined

      No description provided.

      Returns readonly Color4[] | undefined

    • get vertexNormals(): readonly Vector3[]

      No description provided.

      Returns readonly Vector3[]

    • get vertexPositions(): readonly Vector3[]

      No description provided.

      Returns readonly Vector3[]

    • get vertexTextureCoordinates(): readonly Vector2[] | undefined

      No description provided.

      Returns readonly Vector2[] | undefined

    • Recompute vertex normals based on the current mesh's triangles.

      Returns void