@wonderlandengine/editor-api 1.5.1 → 1.5.3-rc.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/data.d.ts +2 -2
- package/dist/data.js +5 -5
- package/package.json +1 -1
package/dist/data.d.ts
CHANGED
|
@@ -107,7 +107,6 @@ export declare enum TonemappingMode {
|
|
|
107
107
|
}
|
|
108
108
|
/** HDR settings */
|
|
109
109
|
export declare class HdrSettings extends Access {
|
|
110
|
-
exposure: number;
|
|
111
110
|
tonemapping: TonemappingMode;
|
|
112
111
|
}
|
|
113
112
|
/** Texture streaming settings */
|
|
@@ -138,6 +137,7 @@ export declare class RenderingSettings extends Access {
|
|
|
138
137
|
compressedTextureAtlasSize: number[];
|
|
139
138
|
clearColor: number[];
|
|
140
139
|
maxShadows: number;
|
|
140
|
+
minLights: number;
|
|
141
141
|
usePreZ: boolean;
|
|
142
142
|
useMultiDraw: boolean;
|
|
143
143
|
useTextureStreaming: boolean;
|
|
@@ -160,7 +160,6 @@ export declare class EditorSettings extends Access {
|
|
|
160
160
|
serverCOEP: string;
|
|
161
161
|
camera: CameraSettings;
|
|
162
162
|
ids: string;
|
|
163
|
-
pluginsPaths: string[];
|
|
164
163
|
package: {
|
|
165
164
|
packageUnusedMeshes: boolean;
|
|
166
165
|
packageUnusedAnimations: boolean;
|
|
@@ -526,6 +525,7 @@ export declare class ViewComponent extends Access {
|
|
|
526
525
|
extent: number;
|
|
527
526
|
near: number;
|
|
528
527
|
far: number;
|
|
528
|
+
exposure: number;
|
|
529
529
|
}
|
|
530
530
|
/** Sphere physics shape */
|
|
531
531
|
export declare class PhysXSphere extends Access {
|
package/dist/data.js
CHANGED
|
@@ -115,7 +115,6 @@ export var TonemappingMode;
|
|
|
115
115
|
})(TonemappingMode = TonemappingMode || (TonemappingMode = {}));
|
|
116
116
|
/** HDR settings */
|
|
117
117
|
export class HdrSettings extends Access {
|
|
118
|
-
exposure = 1.0;
|
|
119
118
|
tonemapping = TonemappingMode.Reinhard;
|
|
120
119
|
}
|
|
121
120
|
/** Texture streaming settings */
|
|
@@ -147,6 +146,7 @@ export class RenderingSettings extends Access {
|
|
|
147
146
|
compressedTextureAtlasSize = [16384, 8192];
|
|
148
147
|
clearColor = [0.168, 0.168, 0.168, 1.0];
|
|
149
148
|
maxShadows = 4;
|
|
149
|
+
minLights = 4;
|
|
150
150
|
usePreZ = false;
|
|
151
151
|
useMultiDraw = false;
|
|
152
152
|
useTextureStreaming = true;
|
|
@@ -169,7 +169,6 @@ export class EditorSettings extends Access {
|
|
|
169
169
|
serverCOEP = 'require-corp';
|
|
170
170
|
camera = new CameraSettings();
|
|
171
171
|
ids = 'incremental-number';
|
|
172
|
-
pluginsPaths = [];
|
|
173
172
|
package = {
|
|
174
173
|
packageUnusedMeshes: false,
|
|
175
174
|
packageUnusedAnimations: false,
|
|
@@ -539,6 +538,7 @@ export class ViewComponent extends Access {
|
|
|
539
538
|
extent = 10;
|
|
540
539
|
near = 0.01;
|
|
541
540
|
far = 100;
|
|
541
|
+
exposure = 1.0;
|
|
542
542
|
}
|
|
543
543
|
/** Sphere physics shape */
|
|
544
544
|
export class PhysXSphere extends Access {
|
|
@@ -811,10 +811,10 @@ export class PipelineResource extends Resource {
|
|
|
811
811
|
viewVertexShader = null;
|
|
812
812
|
features = {};
|
|
813
813
|
meshSorting = MeshSorting.None;
|
|
814
|
-
blendSrcRgb = BlendFunction.
|
|
814
|
+
blendSrcRgb = BlendFunction.SourceAlpha;
|
|
815
815
|
blendSrcAlpha = BlendFunction.One;
|
|
816
|
-
blendDestRgb = BlendFunction.
|
|
817
|
-
blendDestAlpha = BlendFunction.
|
|
816
|
+
blendDestRgb = BlendFunction.OneMinusSourceAlpha;
|
|
817
|
+
blendDestAlpha = BlendFunction.OneMinusSourceAlpha;
|
|
818
818
|
blendEqRgb = BlendEquation.Add;
|
|
819
819
|
blendEqAlpha = BlendEquation.Add;
|
|
820
820
|
depthFunction = DepthFunction.Less;
|