@fps-games/editor 0.1.5-beta.3 → 0.1.5-beta.4
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/build-info.json +15 -15
- package/dist/local-editor-harness.d.ts.map +1 -1
- package/dist/local-editor-harness.js +10 -13
- package/dist/local-editor-harness.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/package.json +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js +12 -6
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +1 -5
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.js +60 -5
- package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js +88 -7
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-solver.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-solver.js +16 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-solver.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/types.d.ts +4 -0
- package/node_modules/@fps-games/editor-babylon/dist/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/package.json +5 -5
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js +6 -2
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/package.json +3 -3
- package/node_modules/@fps-games/editor-core/dist/transform-gizmo.d.ts +34 -5
- package/node_modules/@fps-games/editor-core/dist/transform-gizmo.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/transform-math.d.ts +15 -22
- package/node_modules/@fps-games/editor-core/dist/transform-math.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/transform-math.js +74 -4
- package/node_modules/@fps-games/editor-core/dist/transform-math.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.d.ts +14 -0
- package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.js +16 -0
- package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/transform-operations.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/transform-operations.js +9 -5
- package/node_modules/@fps-games/editor-core/dist/transform-operations.js.map +1 -1
- package/node_modules/@fps-games/editor-core/package.json +2 -2
- package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.d.ts +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js +3 -11
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js +5 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.d.ts +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.d.ts +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.d.ts +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +9 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +40 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +5 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +49 -32
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.js +10 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts +3 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +2 -7
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js +12 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js +13 -10
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts +6 -5
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js +35 -36
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.d.ts +16 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.js +64 -9
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/package.json +3 -3
- package/node_modules/@fps-games/editor-protocol/package.json +1 -1
- package/package.json +8 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { composeEditorTransformChain, createIdentityEditorTransform, toEditorLocalTransformFromWorld, } from '@fps-games/editor-core';
|
|
1
|
+
import { cloneEditorTransformSnapshot, composeEditorTransformChain, createEditorTransformMatrixSnapshot, createIdentityEditorTransform, isEditorTransformMatrixSnapshot, resolveEditorTransformPreserveWorldPolicy, toEditorLocalTransformFromWorld, } from '@fps-games/editor-core';
|
|
2
2
|
import { findEditorSceneTransform, } from '../document/index.js';
|
|
3
3
|
import { EDITOR_SCENE_ROOT_ID, isEditorSceneRootGameObject, isEditorSceneRootGameObjectId, } from './identity.js';
|
|
4
4
|
export function getEditorSceneGameObjectWorldTransform(document, gameObjectId) {
|
|
@@ -30,9 +30,15 @@ export function findEditorSceneGameObject(document, gameObjectId) {
|
|
|
30
30
|
export function createEditorSceneGameObjectMap(document) {
|
|
31
31
|
return new Map(document.scene.gameObjects.map((gameObject) => [gameObject.id, gameObject]));
|
|
32
32
|
}
|
|
33
|
-
export function toEditorSceneLocalTransformForParent(document, parentId, world) {
|
|
33
|
+
export function toEditorSceneLocalTransformForParent(document, parentId, world, options) {
|
|
34
34
|
const parentWorld = parentId ? getEditorSceneGameObjectWorldTransform(document, parentId) : createIdentityEditorTransform();
|
|
35
|
-
return parentWorld ? toEditorLocalTransformFromWorld(parentWorld, world) : null;
|
|
35
|
+
return parentWorld ? toEditorLocalTransformFromWorld(parentWorld, world, options) : null;
|
|
36
|
+
}
|
|
37
|
+
export function toEditorScenePreserveWorldLocalTransformForParent(document, parentId, world, options = {}) {
|
|
38
|
+
const policy = resolveEditorTransformPreserveWorldPolicy(options);
|
|
39
|
+
return toEditorSceneLocalTransformForParent(document, parentId, world, {
|
|
40
|
+
allowMatrixFallback: policy.allowMatrixFallback,
|
|
41
|
+
});
|
|
36
42
|
}
|
|
37
43
|
export function readEditorSceneGameObjectLocalTransform(gameObject) {
|
|
38
44
|
if (isEditorSceneRootGameObject(gameObject))
|
|
@@ -43,6 +49,9 @@ export function readRawEditorSceneGameObjectLocalTransform(gameObject) {
|
|
|
43
49
|
const transform = findEditorSceneTransform(gameObject);
|
|
44
50
|
if (!transform)
|
|
45
51
|
return createIdentityEditorTransform();
|
|
52
|
+
if (isEditorSceneMatrixTransformComponent(transform)) {
|
|
53
|
+
return createEditorTransformMatrixSnapshot(transform.matrix) ?? createIdentityEditorTransform();
|
|
54
|
+
}
|
|
46
55
|
return {
|
|
47
56
|
position: { ...transform.position },
|
|
48
57
|
rotation: { ...transform.rotation },
|
|
@@ -55,15 +64,55 @@ export function patchEditorSceneGameObjectLocalTransform(gameObject, transform)
|
|
|
55
64
|
components: gameObject.components.map((component) => {
|
|
56
65
|
if (component.type !== 'Transform')
|
|
57
66
|
return component;
|
|
58
|
-
return
|
|
59
|
-
...component,
|
|
60
|
-
position: { ...transform.position },
|
|
61
|
-
rotation: { ...transform.rotation },
|
|
62
|
-
scale: { ...transform.scale },
|
|
63
|
-
};
|
|
67
|
+
return tryCreateEditorSceneTransformComponent(transform) ?? component;
|
|
64
68
|
}),
|
|
65
69
|
};
|
|
66
70
|
}
|
|
71
|
+
export function tryCreateEditorSceneTransformComponent(transform) {
|
|
72
|
+
const snapshot = tryCreateEditorSceneTransformSnapshot(transform);
|
|
73
|
+
if (!snapshot)
|
|
74
|
+
return null;
|
|
75
|
+
if (isEditorTransformMatrixSnapshot(snapshot)) {
|
|
76
|
+
return {
|
|
77
|
+
type: 'Transform',
|
|
78
|
+
mode: 'matrix',
|
|
79
|
+
matrix: snapshot.matrix,
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
type: 'Transform',
|
|
84
|
+
...(snapshot.mode === 'trs' ? { mode: 'trs' } : {}),
|
|
85
|
+
position: { ...snapshot.position },
|
|
86
|
+
rotation: { ...snapshot.rotation },
|
|
87
|
+
scale: { ...snapshot.scale },
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
export function tryCreateEditorSceneTransformSnapshot(transform) {
|
|
91
|
+
return isEditorTransformMatrixSnapshot(transform)
|
|
92
|
+
? createEditorTransformMatrixSnapshot(transform.matrix)
|
|
93
|
+
: cloneEditorTransformSnapshot(transform);
|
|
94
|
+
}
|
|
95
|
+
export function toEditorSceneTransformComponent(transform) {
|
|
96
|
+
const component = tryCreateEditorSceneTransformComponent(transform);
|
|
97
|
+
if (!component)
|
|
98
|
+
throw new Error('Invalid matrix Transform component.');
|
|
99
|
+
return component;
|
|
100
|
+
}
|
|
101
|
+
export function toEditorSceneTransformSnapshot(transform) {
|
|
102
|
+
const snapshot = tryCreateEditorSceneTransformSnapshot(transform);
|
|
103
|
+
if (!snapshot)
|
|
104
|
+
throw new Error('Invalid matrix Transform snapshot.');
|
|
105
|
+
return snapshot;
|
|
106
|
+
}
|
|
107
|
+
export function cloneEditorSceneTransformSnapshot(transform) {
|
|
108
|
+
return cloneEditorTransformSnapshot(transform);
|
|
109
|
+
}
|
|
110
|
+
export function isEditorSceneMatrixTransformComponent(transform) {
|
|
111
|
+
return transform.mode === 'matrix';
|
|
112
|
+
}
|
|
113
|
+
export function isEditorSceneTrsTransformComponent(transform) {
|
|
114
|
+
return transform.mode !== 'matrix';
|
|
115
|
+
}
|
|
67
116
|
export function getEditorSceneGameObjectDepth(document, gameObject) {
|
|
68
117
|
const byId = createEditorSceneGameObjectMap(document);
|
|
69
118
|
const seen = new Set();
|
|
@@ -77,10 +126,16 @@ export function getEditorSceneGameObjectDepth(document, gameObject) {
|
|
|
77
126
|
return depth;
|
|
78
127
|
}
|
|
79
128
|
export function readEditorSceneTransformVector(transform, vectorName) {
|
|
129
|
+
if (!isEditorTransformTrsLike(transform)) {
|
|
130
|
+
return vectorName === 'scale' ? { x: 1, y: 1, z: 1 } : { x: 0, y: 0, z: 0 };
|
|
131
|
+
}
|
|
80
132
|
if (vectorName === 'scale')
|
|
81
133
|
return transform.scale ?? { x: 1, y: 1, z: 1 };
|
|
82
134
|
return transform[vectorName];
|
|
83
135
|
}
|
|
136
|
+
function isEditorTransformTrsLike(transform) {
|
|
137
|
+
return !!transform.position && !!transform.rotation;
|
|
138
|
+
}
|
|
84
139
|
export function resolveEditorSceneRootContainerId(document) {
|
|
85
140
|
return document.scene.gameObjects.find((gameObject) => (gameObject.id === EDITOR_SCENE_ROOT_ID
|
|
86
141
|
&& !!findEditorSceneTransform(gameObject)))?.id
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform.js","sourceRoot":"","sources":["../../src/session/transform.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,6BAA6B,EAC7B,+BAA+B,
|
|
1
|
+
{"version":3,"file":"transform.js","sourceRoot":"","sources":["../../src/session/transform.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,2BAA2B,EAC3B,mCAAmC,EACnC,6BAA6B,EAC7B,+BAA+B,EAC/B,yCAAyC,EACzC,+BAA+B,GAGhC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,wBAAwB,GAOzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,oBAAoB,EACpB,2BAA2B,EAC3B,6BAA6B,GAC9B,MAAM,YAAY,CAAC;AAEpB,MAAM,UAAU,sCAAsC,CACpD,QAA6B,EAC7B,YAAoB;IAEpB,IAAI,6BAA6B,CAAC,YAAY,CAAC;QAAE,OAAO,6BAA6B,EAAE,CAAC;IACxF,MAAM,UAAU,GAAG,yBAAyB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IACrE,IAAI,CAAC,UAAU;QAAE,OAAO,IAAI,CAAC;IAE7B,MAAM,KAAK,GAA4B,EAAE,CAAC;IAC1C,MAAM,IAAI,GAAG,8BAA8B,CAAC,QAAQ,CAAC,CAAC;IACtD,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,IAAI,MAAM,GAAsC,UAAU,CAAC;IAC3D,OAAO,MAAM,IAAI,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,wBAAwB,CAAC,UAAU,CAAC,CAC1C,CAAC,EAAE,EAAE,CAAC;AACX,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fps-games/editor-playable-sdk",
|
|
3
|
-
"version": "0.1.5-beta.
|
|
3
|
+
"version": "0.1.5-beta.4",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Playable project integration SDK for fps-game-editor.",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@fps-games/editor-core": "0.1.5-beta.
|
|
22
|
-
"@fps-games/editor-protocol": "0.1.5-beta.
|
|
21
|
+
"@fps-games/editor-core": "0.1.5-beta.4",
|
|
22
|
+
"@fps-games/editor-protocol": "0.1.5-beta.4"
|
|
23
23
|
}
|
|
24
24
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fps-games/editor",
|
|
3
|
-
"version": "0.1.5-beta.
|
|
3
|
+
"version": "0.1.5-beta.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Aggregate public entrypoint for fps-game-editor.",
|
|
6
6
|
"repository": {
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"prepack": "node ../../scripts/prepare-single-package.mjs"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@fps-games/babylon-renderer": "0.1.5-beta.
|
|
38
|
-
"@fps-games/editor-babylon": "0.1.5-beta.
|
|
39
|
-
"@fps-games/editor-browser": "0.1.5-beta.
|
|
40
|
-
"@fps-games/editor-core": "0.1.5-beta.
|
|
41
|
-
"@fps-games/editor-forge-play": "0.1.5-beta.
|
|
42
|
-
"@fps-games/editor-playable-sdk": "0.1.5-beta.
|
|
43
|
-
"@fps-games/editor-protocol": "0.1.5-beta.
|
|
37
|
+
"@fps-games/babylon-renderer": "0.1.5-beta.4",
|
|
38
|
+
"@fps-games/editor-babylon": "0.1.5-beta.4",
|
|
39
|
+
"@fps-games/editor-browser": "0.1.5-beta.4",
|
|
40
|
+
"@fps-games/editor-core": "0.1.5-beta.4",
|
|
41
|
+
"@fps-games/editor-forge-play": "0.1.5-beta.4",
|
|
42
|
+
"@fps-games/editor-playable-sdk": "0.1.5-beta.4",
|
|
43
|
+
"@fps-games/editor-protocol": "0.1.5-beta.4"
|
|
44
44
|
},
|
|
45
45
|
"bundleDependencies": [
|
|
46
46
|
"@fps-games/babylon-renderer",
|