API

Variable DecalBuilderConst

DecalBuilder: {
    CreateDecal: (
        name: string,
        sourceMesh: AbstractMesh,
        options: {
            angle?: number;
            captureUVS?: boolean;
            cullBackFaces?: boolean;
            localMode?: boolean;
            normal?: Vector3;
            position?: Vector3;
            size?: Vector3;
        },
    ) => Mesh;
} = ...

Class containing static functions to help procedurally build meshes

Type Declaration

  • CreateDecal: (
        name: string,
        sourceMesh: AbstractMesh,
        options: {
            angle?: number;
            captureUVS?: boolean;
            cullBackFaces?: boolean;
            localMode?: boolean;
            normal?: Vector3;
            position?: Vector3;
            size?: Vector3;
        },
    ) => Mesh

use the function directly from the module