UNPKG

@tolokoban/tgd

Version:

ToloGameDev library for WebGL2

25 lines 702 B
import { ArrayNumber4 } from "../types"; import { TgdVec4 } from "../math"; import { TgdMaterial } from "./material"; export type TgdMaterialHullOptions = Partial<{ color: ArrayNumber4 | TgdVec4; /** * Thickness of the line in percentage of the height. * Default to 1 %. */ expansion: number; /** * The more you shift to the back, the more you will get only * the contours. * Default to 0.01 */ zShift: number; attNormal: string; }>; export declare class TgdMaterialHull extends TgdMaterial { color: TgdVec4; thickness: number; zShift: number; constructor(options?: TgdMaterialHullOptions); } //# sourceMappingURL=hull.d.ts.map