@galacean/engine-core 1.5.14 → 1.6.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +4313 -3859
- package/dist/main.js.map +1 -1
- package/dist/module.js +4311 -3858
- package/dist/module.js.map +1 -1
- package/package.json +3 -3
- package/types/Engine.d.ts +0 -1
- package/types/RenderPipeline/BasicRenderPipeline.d.ts +1 -0
- package/types/Scene.d.ts +8 -1
- package/types/Transform.d.ts +46 -10
- package/types/asset/AssetPromise.d.ts +6 -5
- package/types/base/Constant.d.ts +1 -0
- package/types/index.d.ts +1 -1
- package/types/lighting/ambientOcclusion/AmbientOcclusion.d.ts +79 -0
- package/types/lighting/ambientOcclusion/ScalableAmbientObscurancePass.d.ts +1 -0
- package/types/lighting/ambientOcclusion/index.d.ts +2 -0
- package/types/lighting/enums/AmbientOcclusionQuality.d.ts +11 -0
- package/types/lighting/index.d.ts +1 -0
- package/types/material/PBRMaterial.d.ts +116 -3
- package/types/material/index.d.ts +0 -2
- package/types/physics/PhysicsScene.d.ts +72 -1
- package/types/shaderlib/ShaderLib.d.ts +2 -0
- package/types/texture/enums/TextureFormat.d.ts +2 -0
- package/types/material/PBRBaseMaterial.d.ts +0 -101
- package/types/material/PBRSpecularMaterial.d.ts +0 -38
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Color } from "@galacean/engine-math";
|
|
2
|
-
import { Engine } from "../Engine";
|
|
3
|
-
import { Texture2D } from "../texture/Texture2D";
|
|
4
|
-
import { PBRBaseMaterial } from "./PBRBaseMaterial";
|
|
5
|
-
/**
|
|
6
|
-
* PBR (Specular-Glossiness Workflow) Material.
|
|
7
|
-
*/
|
|
8
|
-
export declare class PBRSpecularMaterial extends PBRBaseMaterial {
|
|
9
|
-
private static _specularColorProp;
|
|
10
|
-
private static _glossinessProp;
|
|
11
|
-
private static _specularGlossinessTextureProp;
|
|
12
|
-
private static _specularGlossinessTextureMacro;
|
|
13
|
-
/**
|
|
14
|
-
* Specular color.
|
|
15
|
-
*/
|
|
16
|
-
get specularColor(): Color;
|
|
17
|
-
set specularColor(value: Color);
|
|
18
|
-
/**
|
|
19
|
-
* Glossiness.
|
|
20
|
-
*/
|
|
21
|
-
get glossiness(): number;
|
|
22
|
-
set glossiness(value: number);
|
|
23
|
-
/**
|
|
24
|
-
* Specular glossiness texture.
|
|
25
|
-
* @remarks RGB is specular, A is glossiness
|
|
26
|
-
*/
|
|
27
|
-
get specularGlossinessTexture(): Texture2D;
|
|
28
|
-
set specularGlossinessTexture(value: Texture2D);
|
|
29
|
-
/**
|
|
30
|
-
* Create a pbr specular-glossiness workflow material instance.
|
|
31
|
-
* @param engine - Engine to which the material belongs
|
|
32
|
-
*/
|
|
33
|
-
constructor(engine: Engine);
|
|
34
|
-
/**
|
|
35
|
-
* @inheritdoc
|
|
36
|
-
*/
|
|
37
|
-
clone(): PBRSpecularMaterial;
|
|
38
|
-
}
|