Nano WebGPU API - v0.11.0
    Preparing search index...

    Interface MeshOptions

    Configuration options utilized during direct Mesh node instantiation.

    interface MeshOptions {
        geometry: Geometry;
        material?: StandardMaterialOptions | Material;
        nextPass?: Material;
        position?: Vec3 | number[];
        rotation?: Vec3 | number[];
        rotationDegrees?: Vec3 | number[];
        scale?: number | Vec3 | number[];
        texture?: string | Texture;
    }
    Index

    Properties

    geometry: Geometry

    Underlying GPU vertex/index buffer geometry interface.

    Explicit Material instance or configuration properties for StandardMaterial.

    nextPass?: Material

    Secondary material pass rendered immediately after this material.

    position?: Vec3 | number[]

    Initial spatial position coordinate vector.

    rotation?: Vec3 | number[]

    Initial spatial Euler rotation vector in radians.

    rotationDegrees?: Vec3 | number[]

    Initial spatial Euler rotation vector in degrees.

    scale?: number | Vec3 | number[]

    Initial spatial scale multiplier or component scale vector.

    texture?: string | Texture

    Legacy shorthand option to load and assign a simple albedo texture.