mylingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
33 lines (32 loc) • 1.17 kB
TypeScript
import { Point } from "@lincode/math";
import Defaults from "./utils/Defaults";
import { ExtractProps } from "./utils/extractProps";
import Nullable from "./utils/Nullable";
export type NormalMapType = "objectSpace" | "tangentSpace";
export default interface ITexturedStandard {
color: string;
wireframe: boolean;
envMap: Nullable<string>;
aoMap: Nullable<string>;
aoMapIntensity: number;
bumpMap: Nullable<string>;
bumpScale: number;
displacementMap: Nullable<string>;
displacementScale: number;
displacementBias: number;
emissive: boolean;
emissiveColor: string;
emissiveMap: Nullable<string>;
emissiveIntensity: number;
lightMap: Nullable<string>;
lightMapIntensity: number;
metalnessMap: Nullable<string>;
metalness: number;
roughnessMap: Nullable<string>;
roughness: number;
normalMap: Nullable<string>;
normalScale: Point | number;
normalMapType: Nullable<NormalMapType>;
}
export declare const texturedStandardSchema: Required<ExtractProps<ITexturedStandard>>;
export declare const texturedStandardDefaults: Defaults<ITexturedStandard>;