API

Variable RibbonBuilderConst

RibbonBuilder: {
    CreateRibbon: (
        name: string,
        options: {
            backUVs?: Vector4;
            closeArray?: boolean;
            closePath?: boolean;
            colors?: Color4[];
            frontUVs?: Vector4;
            instance?: Mesh;
            invertUV?: boolean;
            offset?: number;
            pathArray: Vector3[][];
            sideOrientation?: number;
            updatable?: boolean;
            uvs?: Vector2[];
        },
        scene?: Nullable<Scene>,
    ) => Mesh;
} = ...

Class containing static functions to help procedurally build meshes

Type Declaration

  • CreateRibbon: (
        name: string,
        options: {
            backUVs?: Vector4;
            closeArray?: boolean;
            closePath?: boolean;
            colors?: Color4[];
            frontUVs?: Vector4;
            instance?: Mesh;
            invertUV?: boolean;
            offset?: number;
            pathArray: Vector3[][];
            sideOrientation?: number;
            updatable?: boolean;
            uvs?: Vector2[];
        },
        scene?: Nullable<Scene>,
    ) => Mesh

use CreateRibbon directly