@galacean/engine-core 1.3.24 → 1.3.26
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 +303 -78
- package/dist/main.js.map +1 -1
- package/dist/miniprogram.js +303 -78
- package/dist/module.js +303 -78
- package/dist/module.js.map +1 -1
- package/package.json +3 -3
- package/types/Camera.d.ts +1 -2
- package/types/Polyfill.d.ts +1 -0
- package/types/RenderPipeline/BasicRenderPipeline.d.ts +3 -0
- package/types/Transform.d.ts +11 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/engine-core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.26",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"types/**/*"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@galacean/engine-math": "1.3.
|
|
21
|
+
"@galacean/engine-math": "1.3.26"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@galacean/engine-design": "1.3.
|
|
24
|
+
"@galacean/engine-design": "1.3.26"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"b:types": "tsc"
|
package/types/Camera.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export declare class Camera extends Component {
|
|
|
50
50
|
/**
|
|
51
51
|
* Multi-sample anti-aliasing samples when use independent canvas mode.
|
|
52
52
|
*
|
|
53
|
-
* @remarks
|
|
53
|
+
* @remarks It will take effect when `independentCanvasEnabled` property is `true`, otherwise it will be invalid.
|
|
54
54
|
*/
|
|
55
55
|
msaaSamples: MSAASamples;
|
|
56
56
|
private _priority;
|
|
@@ -86,7 +86,6 @@ export declare class Camera extends Component {
|
|
|
86
86
|
set opaqueTextureEnabled(value: boolean);
|
|
87
87
|
/**
|
|
88
88
|
* Whether independent canvas is enabled.
|
|
89
|
-
*
|
|
90
89
|
* @remarks If true, the msaa in viewport can turn or off independently by `msaaSamples` property.
|
|
91
90
|
*/
|
|
92
91
|
get independentCanvasEnabled(): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -13,6 +13,9 @@ export declare class BasicRenderPipeline {
|
|
|
13
13
|
private _cascadedShadowCasterPass;
|
|
14
14
|
private _depthOnlyPass;
|
|
15
15
|
private _opaqueTexturePass;
|
|
16
|
+
private _grabTexture;
|
|
17
|
+
private _canUseBlitFrameBuffer;
|
|
18
|
+
private _shouldGrabColor;
|
|
16
19
|
/**
|
|
17
20
|
* Create a basic render pipeline.
|
|
18
21
|
* @param camera - Camera
|
package/types/Transform.d.ts
CHANGED
|
@@ -18,9 +18,11 @@ export declare class Transform extends Component {
|
|
|
18
18
|
private _rotation;
|
|
19
19
|
private _rotationQuaternion;
|
|
20
20
|
private _scale;
|
|
21
|
+
private _localUniformScaling;
|
|
21
22
|
private _worldPosition;
|
|
22
23
|
private _worldRotation;
|
|
23
24
|
private _worldRotationQuaternion;
|
|
25
|
+
private _worldUniformScaling;
|
|
24
26
|
private _lossyWorldScale;
|
|
25
27
|
private _localMatrix;
|
|
26
28
|
private _worldMatrix;
|
|
@@ -69,8 +71,8 @@ export declare class Transform extends Component {
|
|
|
69
71
|
set scale(value: Vector3);
|
|
70
72
|
/**
|
|
71
73
|
* Local lossy scaling.
|
|
72
|
-
* @remarks The value obtained may not be correct under certain conditions(for example, the parent node has scaling,
|
|
73
|
-
* and the child node has a rotation), the scaling will be tilted.
|
|
74
|
+
* @remarks The value obtained may not be correct under certain conditions(for example, the parent node has non-uniform world scaling,
|
|
75
|
+
* and the child node has a rotation), the scaling will be tilted.
|
|
74
76
|
*/
|
|
75
77
|
get lossyWorldScale(): Vector3;
|
|
76
78
|
/**
|
|
@@ -207,6 +209,7 @@ export declare class Transform extends Component {
|
|
|
207
209
|
* Get worldPosition: Will trigger the worldMatrix, local position update of itself and the worldMatrix update of all parent entities.
|
|
208
210
|
* Get worldRotationQuaternion: Will trigger the world rotation (in quaternion) update of itself and all parent entities.
|
|
209
211
|
* Get worldRotation: Will trigger the world rotation(in euler and quaternion) update of itself and world rotation(in quaternion) update of all parent entities.
|
|
212
|
+
* Get worldScale: Will trigger the scaling update of itself and all parent entities.
|
|
210
213
|
* In summary, any update of related variables will cause the dirty mark of one of the full process (worldMatrix or worldRotationQuaternion) to be false.
|
|
211
214
|
*/
|
|
212
215
|
private _updateWorldRotationFlag;
|
|
@@ -215,7 +218,9 @@ export declare class Transform extends Component {
|
|
|
215
218
|
* Get worldPosition: Will trigger the worldMatrix, local position update of itself and the worldMatrix update of all parent entities.
|
|
216
219
|
* Get worldRotationQuaternion: Will trigger the world rotation (in quaternion) update of itself and all parent entities.
|
|
217
220
|
* Get worldRotation: Will trigger the world rotation(in euler and quaternion) update of itself and world rotation(in quaternion) update of all parent entities.
|
|
221
|
+
* Get worldScale: Will trigger the scaling update of itself and all parent entities.
|
|
218
222
|
* In summary, any update of related variables will cause the dirty mark of one of the full process (worldMatrix or worldRotationQuaternion) to be false.
|
|
223
|
+
* @param flags - Dirty flag
|
|
219
224
|
*/
|
|
220
225
|
private _updateWorldPositionAndRotationFlag;
|
|
221
226
|
/**
|
|
@@ -223,6 +228,7 @@ export declare class Transform extends Component {
|
|
|
223
228
|
* Get worldPosition: Will trigger the worldMatrix, local position update of itself and the worldMatrix update of all parent entities.
|
|
224
229
|
* Get worldScale: Will trigger the scaling update of itself and all parent entities.
|
|
225
230
|
* In summary, any update of related variables will cause the dirty mark of one of the full process (worldMatrix) to be false.
|
|
231
|
+
* @param flags - Dirty flag
|
|
226
232
|
*/
|
|
227
233
|
private _updateWorldScaleFlag;
|
|
228
234
|
/**
|
|
@@ -230,10 +236,12 @@ export declare class Transform extends Component {
|
|
|
230
236
|
* Get worldPosition: Will trigger the worldMatrix, local position update of itself and the worldMatrix update of all parent entities.
|
|
231
237
|
* Get worldScale: Will trigger the scaling update of itself and all parent entities.
|
|
232
238
|
* In summary, any update of related variables will cause the dirty mark of one of the full process (worldMatrix) to be false.
|
|
239
|
+
* @param flags - Dirty flag
|
|
233
240
|
*/
|
|
234
241
|
private _updateWorldPositionAndScaleFlag;
|
|
235
242
|
/**
|
|
236
243
|
* Update all world transform property dirty flag, the principle is the same as above.
|
|
244
|
+
* @param flags - Dirty flag
|
|
237
245
|
*/
|
|
238
246
|
private _updateAllWorldFlag;
|
|
239
247
|
private _getParentTransform;
|
|
@@ -253,4 +261,5 @@ export declare class Transform extends Component {
|
|
|
253
261
|
private _onRotationQuaternionChanged;
|
|
254
262
|
private _onWorldRotationQuaternionChanged;
|
|
255
263
|
private _onScaleChanged;
|
|
264
|
+
private _getWorldUniformScaling;
|
|
256
265
|
}
|