@tolokoban/tgd
Version:
ToloGameDev library for WebGL2
21 lines • 748 B
TypeScript
import { TgdContext } from "../../../context";
import { TgdParserGLTransfertFormatBinary } from "../../../parser";
import { TgdVec4 } from "../../../math";
import { TgdMaterial } from "../../../material";
import { TgdPainterMesh } from "../mesh";
import { TgdTexture2D } from "../../../texture";
export interface TgdPainterMeshGltfOptions {
asset: TgdParserGLTransfertFormatBinary;
meshIndex?: number;
primitiveIndex?: number;
name?: string;
materialFactory?(this: void, options: {
color?: TgdVec4 | TgdTexture2D;
}): TgdMaterial;
}
/**
*/
export declare class TgdPainterMeshGltf extends TgdPainterMesh {
constructor(context: TgdContext, options: TgdPainterMeshGltfOptions);
}
//# sourceMappingURL=gltf.d.ts.map