@wonderlandengine/editor-api 1.5.1 → 1.5.2
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 +1 -2
- package/dist/data.js +4 -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 */
|
|
@@ -160,7 +159,6 @@ export declare class EditorSettings extends Access {
|
|
|
160
159
|
serverCOEP: string;
|
|
161
160
|
camera: CameraSettings;
|
|
162
161
|
ids: string;
|
|
163
|
-
pluginsPaths: string[];
|
|
164
162
|
package: {
|
|
165
163
|
packageUnusedMeshes: boolean;
|
|
166
164
|
packageUnusedAnimations: boolean;
|
|
@@ -526,6 +524,7 @@ export declare class ViewComponent extends Access {
|
|
|
526
524
|
extent: number;
|
|
527
525
|
near: number;
|
|
528
526
|
far: number;
|
|
527
|
+
exposure: number;
|
|
529
528
|
}
|
|
530
529
|
/** Sphere physics shape */
|
|
531
530
|
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 */
|
|
@@ -169,7 +168,6 @@ export class EditorSettings extends Access {
|
|
|
169
168
|
serverCOEP = 'require-corp';
|
|
170
169
|
camera = new CameraSettings();
|
|
171
170
|
ids = 'incremental-number';
|
|
172
|
-
pluginsPaths = [];
|
|
173
171
|
package = {
|
|
174
172
|
packageUnusedMeshes: false,
|
|
175
173
|
packageUnusedAnimations: false,
|
|
@@ -539,6 +537,7 @@ export class ViewComponent extends Access {
|
|
|
539
537
|
extent = 10;
|
|
540
538
|
near = 0.01;
|
|
541
539
|
far = 100;
|
|
540
|
+
exposure = 1.0;
|
|
542
541
|
}
|
|
543
542
|
/** Sphere physics shape */
|
|
544
543
|
export class PhysXSphere extends Access {
|
|
@@ -811,10 +810,10 @@ export class PipelineResource extends Resource {
|
|
|
811
810
|
viewVertexShader = null;
|
|
812
811
|
features = {};
|
|
813
812
|
meshSorting = MeshSorting.None;
|
|
814
|
-
blendSrcRgb = BlendFunction.
|
|
813
|
+
blendSrcRgb = BlendFunction.SourceAlpha;
|
|
815
814
|
blendSrcAlpha = BlendFunction.One;
|
|
816
|
-
blendDestRgb = BlendFunction.
|
|
817
|
-
blendDestAlpha = BlendFunction.
|
|
815
|
+
blendDestRgb = BlendFunction.OneMinusSourceAlpha;
|
|
816
|
+
blendDestAlpha = BlendFunction.OneMinusSourceAlpha;
|
|
818
817
|
blendEqRgb = BlendEquation.Add;
|
|
819
818
|
blendEqAlpha = BlendEquation.Add;
|
|
820
819
|
depthFunction = DepthFunction.Less;
|