@zylem/game-lib 0.9.9 → 0.9.10
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/actions.d.ts +2 -2
- package/dist/api/game-lib.api.json +205 -187
- package/dist/api/game-lib.api.md +11 -9
- package/dist/api/game-lib.d.ts +11 -0
- package/dist/api/game-lib.typedoc.json +60905 -60831
- package/dist/bridge.d.ts +1 -1
- package/dist/bridge.js +1 -1
- package/dist/chunk-BZEZIHM7.js +1 -0
- package/dist/chunk-HDOXKVQA.js +1 -0
- package/dist/{chunk-JUA5KNND.js → chunk-KFI5UDI6.js} +2 -2
- package/dist/cinematics.d.ts +4 -4
- package/dist/core.d.ts +7 -7
- package/dist/core.js +1 -1
- package/dist/{debug-state-JRneI6c2.d.ts → debug-state-zLtbTVix.d.ts} +1 -1
- package/dist/debug.d.ts +2 -2
- package/dist/{entity-CY75JJSw.d.ts → entity-B8VygThO.d.ts} +7 -0
- package/dist/{entity-type-map-BMaPY8cd.d.ts → entity-type-map-CnxOtV01.d.ts} +1 -1
- package/dist/entity.d.ts +4 -4
- package/dist/{game-uQd7k6-m.d.ts → game-CoNlUzGO.d.ts} +2 -2
- package/dist/{game-default-FRKFJOJX.js → game-default-Y7TULWXQ.js} +1 -1
- package/dist/{placement-session-BNQoL7Jb.d.ts → placement-session-DfvCaGxX.d.ts} +1 -1
- package/dist/placement.d.ts +3 -3
- package/dist/public.d.ts +6 -6
- package/dist/public.js +1 -1
- package/dist/{stage-Dez16Gxm.d.ts → stage-BO-E42In.d.ts} +7 -3
- package/dist/web-components.d.ts +6 -6
- package/package.json +1 -1
- package/dist/chunk-26EJFYDX.js +0 -1
- package/dist/chunk-VUTKEMIE.js +0 -1
package/dist/api/game-lib.api.md
CHANGED
|
@@ -3156,6 +3156,8 @@ export type GameEntityOptions = {
|
|
|
3156
3156
|
color?: Color;
|
|
3157
3157
|
size?: Vec3Input;
|
|
3158
3158
|
position?: Vec3Input;
|
|
3159
|
+
rotation?: Vec3Input;
|
|
3160
|
+
scale?: Vec3Input;
|
|
3159
3161
|
hideUntilPositioned?: boolean;
|
|
3160
3162
|
visible?: boolean;
|
|
3161
3163
|
editorOwned?: boolean;
|
|
@@ -9347,15 +9349,15 @@ export class ZylemZone extends GameEntity<ZylemZoneOptions> implements Collision
|
|
|
9347
9349
|
// /Users/timothycool/Projects/zylem-projects/simulation/packages/behaviors/dist/particle-emitter.d.ts:60:9 - (ae-forgotten-export) The symbol "voidMagic" needs to be exported by the entry point public.d.ts
|
|
9348
9350
|
// /Users/timothycool/Projects/zylem-projects/simulation/packages/behaviors/dist/particle-emitter.d.ts:61:9 - (ae-forgotten-export) The symbol "psychic" needs to be exported by the entry point public.d.ts
|
|
9349
9351
|
// /Users/timothycool/Projects/zylem-projects/simulation/packages/behaviors/dist/payload-WEzfgjSL.d.ts:48:5 - (ae-forgotten-export) The symbol "PlainWorkerFragmentPayload" needs to be exported by the entry point public.d.ts
|
|
9350
|
-
// dist/entity-
|
|
9351
|
-
// dist/entity-
|
|
9352
|
-
// dist/entity-
|
|
9353
|
-
// dist/entity-
|
|
9354
|
-
// dist/entity-
|
|
9355
|
-
// dist/entity-
|
|
9356
|
-
// dist/entity-
|
|
9357
|
-
// dist/game-
|
|
9358
|
-
// dist/stage-
|
|
9352
|
+
// dist/entity-B8VygThO.d.ts:406:5 - (ae-forgotten-export) The symbol "RenderCategory_2" needs to be exported by the entry point public.d.ts
|
|
9353
|
+
// dist/entity-B8VygThO.d.ts:407:5 - (ae-forgotten-export) The symbol "RuntimeEntityOptions" needs to be exported by the entry point public.d.ts
|
|
9354
|
+
// dist/entity-B8VygThO.d.ts:408:5 - (ae-forgotten-export) The symbol "CollisionOptions" needs to be exported by the entry point public.d.ts
|
|
9355
|
+
// dist/entity-B8VygThO.d.ts:417:9 - (ae-forgotten-export) The symbol "IBuilder" needs to be exported by the entry point public.d.ts
|
|
9356
|
+
// dist/entity-B8VygThO.d.ts:417:9 - (ae-forgotten-export) The symbol "EntityMeshBuilder" needs to be exported by the entry point public.d.ts
|
|
9357
|
+
// dist/entity-B8VygThO.d.ts:418:9 - (ae-forgotten-export) The symbol "EntityCollisionBuilder" needs to be exported by the entry point public.d.ts
|
|
9358
|
+
// dist/entity-B8VygThO.d.ts:419:9 - (ae-forgotten-export) The symbol "MaterialBuilder" needs to be exported by the entry point public.d.ts
|
|
9359
|
+
// dist/game-CoNlUzGO.d.ts:258:5 - (ae-forgotten-export) The symbol "StageInterface" needs to be exported by the entry point public.d.ts
|
|
9360
|
+
// dist/stage-BO-E42In.d.ts:1196:5 - (ae-forgotten-export) The symbol "StageAssetLoaderConfig" needs to be exported by the entry point public.d.ts
|
|
9359
9361
|
|
|
9360
9362
|
// (No @packageDocumentation comment for this package)
|
|
9361
9363
|
|
package/dist/api/game-lib.d.ts
CHANGED
|
@@ -1505,6 +1505,8 @@ export declare class CameraManager implements EditorCameraHost {
|
|
|
1505
1505
|
private _screenSpacePanIds;
|
|
1506
1506
|
/** Side, top, and isometric views that have already been placed on the gameplay camera. */
|
|
1507
1507
|
private _framedEditorViews;
|
|
1508
|
+
/** True after the free camera has copied the gameplay pose once. */
|
|
1509
|
+
private _freePoseCaptured;
|
|
1508
1510
|
/** World boxes of stage entities, read when an orthographic view is first shown. */
|
|
1509
1511
|
private _entityBounds;
|
|
1510
1512
|
/** Game camera to restore when the editor releases the main view. */
|
|
@@ -6130,6 +6132,13 @@ export declare type GameEntityOptions = {
|
|
|
6130
6132
|
color?: Color;
|
|
6131
6133
|
size?: Vec3Input;
|
|
6132
6134
|
position?: Vec3Input;
|
|
6135
|
+
/** Spawn orientation as Euler angles in radians, applied in XYZ order. */
|
|
6136
|
+
rotation?: Vec3Input;
|
|
6137
|
+
/**
|
|
6138
|
+
* Spawn scale. Colliders are scaled with the render object. An actor
|
|
6139
|
+
* sizes its model from this instead.
|
|
6140
|
+
*/
|
|
6141
|
+
scale?: Vec3Input;
|
|
6133
6142
|
/**
|
|
6134
6143
|
* Spawn visibility behavior:
|
|
6135
6144
|
* - `undefined` (default): hidden while `spawnEntity` runs, revealed once
|
|
@@ -14196,6 +14205,8 @@ declare class StageEntityDelegate {
|
|
|
14196
14205
|
*/
|
|
14197
14206
|
spawnEntity(child: BaseNode): Promise<void>;
|
|
14198
14207
|
handleLateModelReady(entity: GameEntity<any>): void;
|
|
14208
|
+
/** Apply the `rotation` and `scale` options before the body is spawned. */
|
|
14209
|
+
private applySpawnTransform;
|
|
14199
14210
|
/**
|
|
14200
14211
|
* Register an entity for bundle or instanced rendering when opted in via
|
|
14201
14212
|
* `category: 'environment'` or `category: 'pack'`.
|