pixi.js
    Preparing search index...

    Interface MeshPlaneOptions

    Constructor options used for MeshPlane instances. Defines how a texture is mapped onto a plane with configurable vertex density.

    // Basic plane with default vertex density
    const plane = new MeshPlane({
    texture: Assets.get('background.png')
    });

    // High-detail plane for complex deformations
    const detailedPlane = new MeshPlane({
    texture: Assets.get('landscape.jpg'),
    verticesX: 20,
    verticesY: 20
    });
    interface MeshPlaneOptions {
        texture: Texture;
        verticesX?: number;
        verticesY?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    texture: Texture

    The texture to use on the plane.

    verticesX?: number

    Number of vertices along the X axis. More vertices allow for more detailed deformations.

    10
    
    verticesY?: number

    Number of vertices along the Y axis. More vertices allow for more detailed deformations.

    10