API

Variable PlaneBuilderConst

PlaneBuilder: {
    CreatePlane: (
        name: string,
        options?: {
            backUVs?: Vector4;
            frontUVs?: Vector4;
            height?: number;
            sideOrientation?: number;
            size?: number;
            sourcePlane?: Plane;
            updatable?: boolean;
            width?: number;
        },
        scene?: Nullable<Scene>,
    ) => Mesh;
} = ...

Class containing static functions to help procedurally build meshes

Type Declaration

  • CreatePlane: (
        name: string,
        options?: {
            backUVs?: Vector4;
            frontUVs?: Vector4;
            height?: number;
            sideOrientation?: number;
            size?: number;
            sourcePlane?: Plane;
            updatable?: boolean;
            width?: number;
        },
        scene?: Nullable<Scene>,
    ) => Mesh

use the function directly from the module