Documentation - v19.16.0-dev
    Preparing search index...

    One geometry of an InputMesh, placed in the world with its material.

    interface InputMeshPart {
        geometry: string | GeometryBuffers;
        material: MaterialProps;
        matrix: ArrayLike<number>;
    }
    Index

    Properties

    geometry: string | GeometryBuffers

    Geometry in its local frame, or the id of a geometry already stored in the controller (valid while an object uses it). Every part with the same geometry id is an instance of it: the controller stores it once. A FileReader gives buffers.

    material: MaterialProps

    Material of the part.

    matrix: ArrayLike<number>

    Geometry local frame to world, 4x4 column-major (three.js Matrix4.elements).