2022-02-16 11:15:31 +08:00
|
|
|
import { Color } from "three";
|
|
|
|
import { PhysicalMaterialRecord } from "./PhysicalMaterialRecord";
|
|
|
|
declare const DefaultParam: Readonly<{
|
2022-06-30 15:31:16 +08:00
|
|
|
color: "#ffffff";
|
|
|
|
baseColorluminance: 0;
|
2022-02-16 11:15:31 +08:00
|
|
|
baseColorLightColor: Color;
|
|
|
|
baseColorDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
baseColorSaturability: 1;
|
|
|
|
transparent: false;
|
|
|
|
opacity: 1;
|
|
|
|
opacityContrast: 1;
|
|
|
|
opacityBorder: 1;
|
|
|
|
opacityMaximum: 1;
|
|
|
|
opacityMinimum: 0.3;
|
|
|
|
matalness: 0;
|
|
|
|
bumpScale: 0.1;
|
|
|
|
roughness: 0.2;
|
|
|
|
specular: 1;
|
|
|
|
selfLuminous: 0;
|
|
|
|
fresnelPO: 1;
|
|
|
|
fresnelST: 1;
|
|
|
|
fresnelLuminance: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
fresnelLightColor: Color;
|
|
|
|
fresnelDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
UVType: 0;
|
|
|
|
sharpen: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
}>;
|
2023-01-11 09:59:43 +08:00
|
|
|
type MaterialParam = typeof DefaultParam;
|
2022-02-16 11:15:31 +08:00
|
|
|
export declare const DefaultParamMap: Readonly<{
|
|
|
|
木纹: Readonly<{
|
2022-06-30 15:31:16 +08:00
|
|
|
color: "#ffffff";
|
|
|
|
baseColorluminance: 0;
|
2022-02-16 11:15:31 +08:00
|
|
|
baseColorLightColor: Color;
|
|
|
|
baseColorDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
baseColorSaturability: 1;
|
|
|
|
transparent: false;
|
|
|
|
opacity: 1;
|
|
|
|
opacityContrast: 1;
|
|
|
|
opacityBorder: 1;
|
|
|
|
opacityMaximum: 1;
|
|
|
|
opacityMinimum: 0.3;
|
|
|
|
matalness: 0;
|
|
|
|
bumpScale: 0.1;
|
|
|
|
roughness: 0.2;
|
|
|
|
specular: 1;
|
|
|
|
selfLuminous: 0;
|
|
|
|
fresnelPO: 1;
|
|
|
|
fresnelST: 1;
|
|
|
|
fresnelLuminance: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
fresnelLightColor: Color;
|
|
|
|
fresnelDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
UVType: 0;
|
|
|
|
sharpen: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
}>;
|
|
|
|
乳胶漆: Readonly<{
|
2022-06-30 15:31:16 +08:00
|
|
|
color: "#ffffff";
|
|
|
|
baseColorluminance: 0;
|
2022-02-16 11:15:31 +08:00
|
|
|
baseColorLightColor: Color;
|
|
|
|
baseColorDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
baseColorSaturability: 1;
|
|
|
|
transparent: false;
|
|
|
|
opacity: 1;
|
|
|
|
opacityContrast: 1;
|
|
|
|
opacityBorder: 1;
|
|
|
|
opacityMaximum: 1;
|
|
|
|
opacityMinimum: 0.3;
|
|
|
|
matalness: 0;
|
|
|
|
bumpScale: 0.1;
|
|
|
|
roughness: 0.2;
|
|
|
|
specular: 1;
|
|
|
|
selfLuminous: 0;
|
|
|
|
fresnelPO: 1;
|
|
|
|
fresnelST: 1;
|
|
|
|
fresnelLuminance: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
fresnelLightColor: Color;
|
|
|
|
fresnelDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
UVType: 0;
|
|
|
|
sharpen: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
}>;
|
|
|
|
烤漆: Readonly<{
|
2022-06-30 15:31:16 +08:00
|
|
|
color: "#ffffff";
|
|
|
|
baseColorluminance: 0;
|
2022-02-16 11:15:31 +08:00
|
|
|
baseColorLightColor: Color;
|
|
|
|
baseColorDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
baseColorSaturability: 1;
|
|
|
|
transparent: false;
|
|
|
|
opacity: 1;
|
|
|
|
opacityContrast: 1;
|
|
|
|
opacityBorder: 1;
|
|
|
|
opacityMaximum: 1;
|
|
|
|
opacityMinimum: 0.3;
|
|
|
|
matalness: 0;
|
|
|
|
bumpScale: 0.1;
|
|
|
|
roughness: 0.2;
|
|
|
|
specular: 1;
|
|
|
|
selfLuminous: 0;
|
|
|
|
fresnelPO: 1;
|
|
|
|
fresnelST: 1;
|
|
|
|
fresnelLuminance: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
fresnelLightColor: Color;
|
|
|
|
fresnelDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
UVType: 0;
|
|
|
|
sharpen: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
}>;
|
|
|
|
金属: Readonly<{
|
2022-06-30 15:31:16 +08:00
|
|
|
color: "#ffffff";
|
|
|
|
baseColorluminance: 0;
|
2022-02-16 11:15:31 +08:00
|
|
|
baseColorLightColor: Color;
|
|
|
|
baseColorDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
baseColorSaturability: 1;
|
|
|
|
transparent: false;
|
|
|
|
opacity: 1;
|
|
|
|
opacityContrast: 1;
|
|
|
|
opacityBorder: 1;
|
|
|
|
opacityMaximum: 1;
|
|
|
|
opacityMinimum: 0.3;
|
|
|
|
matalness: 0;
|
|
|
|
bumpScale: 0.1;
|
|
|
|
roughness: 0.2;
|
|
|
|
specular: 1;
|
|
|
|
selfLuminous: 0;
|
|
|
|
fresnelPO: 1;
|
|
|
|
fresnelST: 1;
|
|
|
|
fresnelLuminance: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
fresnelLightColor: Color;
|
|
|
|
fresnelDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
UVType: 0;
|
|
|
|
sharpen: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
}>;
|
|
|
|
亚光金属: Readonly<{
|
2022-06-30 15:31:16 +08:00
|
|
|
color: "#ffffff";
|
|
|
|
baseColorluminance: 0;
|
2022-02-16 11:15:31 +08:00
|
|
|
baseColorLightColor: Color;
|
|
|
|
baseColorDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
baseColorSaturability: 1;
|
|
|
|
transparent: false;
|
|
|
|
opacity: 1;
|
|
|
|
opacityContrast: 1;
|
|
|
|
opacityBorder: 1;
|
|
|
|
opacityMaximum: 1;
|
|
|
|
opacityMinimum: 0.3;
|
|
|
|
matalness: 0;
|
|
|
|
bumpScale: 0.1;
|
|
|
|
roughness: 0.2;
|
|
|
|
specular: 1;
|
|
|
|
selfLuminous: 0;
|
|
|
|
fresnelPO: 1;
|
|
|
|
fresnelST: 1;
|
|
|
|
fresnelLuminance: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
fresnelLightColor: Color;
|
|
|
|
fresnelDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
UVType: 0;
|
|
|
|
sharpen: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
}>;
|
|
|
|
自发光: Readonly<{
|
2022-06-30 15:31:16 +08:00
|
|
|
color: "#ffffff";
|
|
|
|
baseColorluminance: 0;
|
2022-02-16 11:15:31 +08:00
|
|
|
baseColorLightColor: Color;
|
|
|
|
baseColorDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
baseColorSaturability: 1;
|
|
|
|
transparent: false;
|
|
|
|
opacity: 1;
|
|
|
|
opacityContrast: 1;
|
|
|
|
opacityBorder: 1;
|
|
|
|
opacityMaximum: 1;
|
|
|
|
opacityMinimum: 0.3;
|
|
|
|
matalness: 0;
|
|
|
|
bumpScale: 0.1;
|
|
|
|
roughness: 0.2;
|
|
|
|
specular: 1;
|
|
|
|
selfLuminous: 0;
|
|
|
|
fresnelPO: 1;
|
|
|
|
fresnelST: 1;
|
|
|
|
fresnelLuminance: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
fresnelLightColor: Color;
|
|
|
|
fresnelDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
UVType: 0;
|
|
|
|
sharpen: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
}>;
|
|
|
|
大理石: Readonly<{
|
2022-06-30 15:31:16 +08:00
|
|
|
color: "#ffffff";
|
|
|
|
baseColorluminance: 0;
|
2022-02-16 11:15:31 +08:00
|
|
|
baseColorLightColor: Color;
|
|
|
|
baseColorDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
baseColorSaturability: 1;
|
|
|
|
transparent: false;
|
|
|
|
opacity: 1;
|
|
|
|
opacityContrast: 1;
|
|
|
|
opacityBorder: 1;
|
|
|
|
opacityMaximum: 1;
|
|
|
|
opacityMinimum: 0.3;
|
|
|
|
matalness: 0;
|
|
|
|
bumpScale: 0.1;
|
|
|
|
roughness: 0.2;
|
|
|
|
specular: 1;
|
|
|
|
selfLuminous: 0;
|
|
|
|
fresnelPO: 1;
|
|
|
|
fresnelST: 1;
|
|
|
|
fresnelLuminance: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
fresnelLightColor: Color;
|
|
|
|
fresnelDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
UVType: 0;
|
|
|
|
sharpen: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
}>;
|
|
|
|
混凝土: Readonly<{
|
2022-06-30 15:31:16 +08:00
|
|
|
color: "#ffffff";
|
|
|
|
baseColorluminance: 0;
|
2022-02-16 11:15:31 +08:00
|
|
|
baseColorLightColor: Color;
|
|
|
|
baseColorDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
baseColorSaturability: 1;
|
|
|
|
transparent: false;
|
|
|
|
opacity: 1;
|
|
|
|
opacityContrast: 1;
|
|
|
|
opacityBorder: 1;
|
|
|
|
opacityMaximum: 1;
|
|
|
|
opacityMinimum: 0.3;
|
|
|
|
matalness: 0;
|
|
|
|
bumpScale: 0.1;
|
|
|
|
roughness: 0.2;
|
|
|
|
specular: 1;
|
|
|
|
selfLuminous: 0;
|
|
|
|
fresnelPO: 1;
|
|
|
|
fresnelST: 1;
|
|
|
|
fresnelLuminance: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
fresnelLightColor: Color;
|
|
|
|
fresnelDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
UVType: 0;
|
|
|
|
sharpen: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
}>;
|
|
|
|
粗糙石材: Readonly<{
|
2022-06-30 15:31:16 +08:00
|
|
|
color: "#ffffff";
|
|
|
|
baseColorluminance: 0;
|
2022-02-16 11:15:31 +08:00
|
|
|
baseColorLightColor: Color;
|
|
|
|
baseColorDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
baseColorSaturability: 1;
|
|
|
|
transparent: false;
|
|
|
|
opacity: 1;
|
|
|
|
opacityContrast: 1;
|
|
|
|
opacityBorder: 1;
|
|
|
|
opacityMaximum: 1;
|
|
|
|
opacityMinimum: 0.3;
|
|
|
|
matalness: 0;
|
|
|
|
bumpScale: 0.1;
|
|
|
|
roughness: 0.2;
|
|
|
|
specular: 1;
|
|
|
|
selfLuminous: 0;
|
|
|
|
fresnelPO: 1;
|
|
|
|
fresnelST: 1;
|
|
|
|
fresnelLuminance: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
fresnelLightColor: Color;
|
|
|
|
fresnelDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
UVType: 0;
|
|
|
|
sharpen: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
}>;
|
|
|
|
玻璃: Readonly<{
|
2022-06-30 15:31:16 +08:00
|
|
|
color: "#ffffff";
|
|
|
|
baseColorluminance: 0;
|
2022-02-16 11:15:31 +08:00
|
|
|
baseColorLightColor: Color;
|
|
|
|
baseColorDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
baseColorSaturability: 1;
|
|
|
|
transparent: false;
|
|
|
|
opacity: 1;
|
|
|
|
opacityContrast: 1;
|
|
|
|
opacityBorder: 1;
|
|
|
|
opacityMaximum: 1;
|
|
|
|
opacityMinimum: 0.3;
|
|
|
|
matalness: 0;
|
|
|
|
bumpScale: 0.1;
|
|
|
|
roughness: 0.2;
|
|
|
|
specular: 1;
|
|
|
|
selfLuminous: 0;
|
|
|
|
fresnelPO: 1;
|
|
|
|
fresnelST: 1;
|
|
|
|
fresnelLuminance: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
fresnelLightColor: Color;
|
|
|
|
fresnelDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
UVType: 0;
|
|
|
|
sharpen: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
}>;
|
|
|
|
皮革: Readonly<{
|
2022-06-30 15:31:16 +08:00
|
|
|
color: "#ffffff";
|
|
|
|
baseColorluminance: 0;
|
2022-02-16 11:15:31 +08:00
|
|
|
baseColorLightColor: Color;
|
|
|
|
baseColorDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
baseColorSaturability: 1;
|
|
|
|
transparent: false;
|
|
|
|
opacity: 1;
|
|
|
|
opacityContrast: 1;
|
|
|
|
opacityBorder: 1;
|
|
|
|
opacityMaximum: 1;
|
|
|
|
opacityMinimum: 0.3;
|
|
|
|
matalness: 0;
|
|
|
|
bumpScale: 0.1;
|
|
|
|
roughness: 0.2;
|
|
|
|
specular: 1;
|
|
|
|
selfLuminous: 0;
|
|
|
|
fresnelPO: 1;
|
|
|
|
fresnelST: 1;
|
|
|
|
fresnelLuminance: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
fresnelLightColor: Color;
|
|
|
|
fresnelDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
UVType: 0;
|
|
|
|
sharpen: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
}>;
|
|
|
|
布料: Readonly<{
|
2022-06-30 15:31:16 +08:00
|
|
|
color: "#ffffff";
|
|
|
|
baseColorluminance: 0;
|
2022-02-16 11:15:31 +08:00
|
|
|
baseColorLightColor: Color;
|
|
|
|
baseColorDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
baseColorSaturability: 1;
|
|
|
|
transparent: false;
|
|
|
|
opacity: 1;
|
|
|
|
opacityContrast: 1;
|
|
|
|
opacityBorder: 1;
|
|
|
|
opacityMaximum: 1;
|
|
|
|
opacityMinimum: 0.3;
|
|
|
|
matalness: 0;
|
|
|
|
bumpScale: 0.1;
|
|
|
|
roughness: 0.2;
|
|
|
|
specular: 1;
|
|
|
|
selfLuminous: 0;
|
|
|
|
fresnelPO: 1;
|
|
|
|
fresnelST: 1;
|
|
|
|
fresnelLuminance: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
fresnelLightColor: Color;
|
|
|
|
fresnelDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
UVType: 0;
|
|
|
|
sharpen: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
}>;
|
|
|
|
竹藤编织: Readonly<{
|
2022-06-30 15:31:16 +08:00
|
|
|
color: "#ffffff";
|
|
|
|
baseColorluminance: 0;
|
2022-02-16 11:15:31 +08:00
|
|
|
baseColorLightColor: Color;
|
|
|
|
baseColorDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
baseColorSaturability: 1;
|
|
|
|
transparent: false;
|
|
|
|
opacity: 1;
|
|
|
|
opacityContrast: 1;
|
|
|
|
opacityBorder: 1;
|
|
|
|
opacityMaximum: 1;
|
|
|
|
opacityMinimum: 0.3;
|
|
|
|
matalness: 0;
|
|
|
|
bumpScale: 0.1;
|
|
|
|
roughness: 0.2;
|
|
|
|
specular: 1;
|
|
|
|
selfLuminous: 0;
|
|
|
|
fresnelPO: 1;
|
|
|
|
fresnelST: 1;
|
|
|
|
fresnelLuminance: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
fresnelLightColor: Color;
|
|
|
|
fresnelDarkColor: Color;
|
2022-06-30 15:31:16 +08:00
|
|
|
UVType: 0;
|
|
|
|
sharpen: 1;
|
2022-02-16 11:15:31 +08:00
|
|
|
}>;
|
|
|
|
}>;
|
2023-01-11 09:59:43 +08:00
|
|
|
export type MaterialType = keyof (typeof DefaultParamMap);
|
2022-02-16 11:15:31 +08:00
|
|
|
export declare function SetMaterialParams(mtl: PhysicalMaterialRecord, param: MaterialParam): void;
|
|
|
|
export {};
|
|
|
|
//# sourceMappingURL=IMaterialDefaultParam.d.ts.map
|