lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
37 lines (36 loc) • 1.23 kB
TypeScript
import { MeshStandardMaterial } from "three";
import { Blending, ColorString } from "../interface/ITexturedStandard";
import { PointType } from "../utils/isPoint";
export type MaterialParams = [
color: ColorString,
opacity: number,
texture: string,
alphaMap: string,
textureRepeat: number | PointType,
textureFlipY: boolean,
textureRotation: number,
wireframe: boolean,
envMap: string,
envMapIntensity: number,
aoMap: string,
aoMapIntensity: number,
bumpMap: string,
bumpScale: number,
displacementMap: string,
displacementScale: number,
displacementBias: number,
emissive: boolean,
emissiveIntensity: number,
lightMap: string,
lightMapIntensity: number,
metalnessMap: string,
metalness: number,
roughnessMap: string,
roughness: number,
normalMap: string,
normalScale: number,
depthTest: boolean,
blending: Blending,
referenceUUID: string
];
export declare const requestMaterial: (params: MaterialParams, paramString?: string, context?: void) => MeshStandardMaterial, releaseMaterial: (object: MeshStandardMaterial | null | undefined) => boolean | import("@lincode/promiselikes").Cancellable | null | undefined;