@zylem/game-lib 0.8.4 → 0.8.7
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/LICENSE +21 -0
- package/dist/actions.d.ts +7 -5
- package/dist/api/game-lib.api.json +3529 -500
- package/dist/api/game-lib.api.md +188 -10
- package/dist/api/game-lib.d.ts +510 -11
- package/dist/api/game-lib.typedoc.json +218291 -134637
- package/dist/base-node-idopiSw5.d.ts +96 -0
- package/dist/bridge.d.ts +30 -6
- package/dist/bridge.js +1 -1
- package/dist/catalog.d.ts +77 -0
- package/dist/catalog.js +1 -0
- package/dist/{chunk-TV3AZKT4.js → chunk-34MYRTRP.js} +1 -1
- package/dist/{chunk-CM5YRNBJ.js → chunk-7NYP4YAG.js} +1 -1
- package/dist/chunk-AE3CTVHY.js +1 -0
- package/dist/chunk-BCFFS3FP.js +1 -0
- package/dist/chunk-BMRFDDMR.js +1 -0
- package/dist/chunk-CBUQBP2U.js +1 -0
- package/dist/chunk-EVMLNMGU.js +1 -0
- package/dist/chunk-F5LROYZL.js +24 -0
- package/dist/chunk-GHJQ2HKI.js +1 -0
- package/dist/chunk-IBJLPJLE.js +1 -0
- package/dist/chunk-MXO4VGDB.js +1 -0
- package/dist/{chunk-VIPINV7V.js → chunk-Q2YDBMVY.js} +1 -1
- package/dist/chunk-QDQ4QMAI.js +1 -0
- package/dist/chunk-SAQA4SXW.js +1 -0
- package/dist/chunk-YOVE25NW.js +1 -0
- package/dist/chunk-ZTYNZ2N2.js +1 -0
- package/dist/{collision-builder-4TVDzXsp.d.ts → collision-builder-BckxkdmA.d.ts} +1 -1
- package/dist/core.d.ts +14 -11
- package/dist/core.js +1 -1
- package/dist/debug-state-CpnNRUFh.d.ts +97 -0
- package/dist/debug.d.ts +194 -7
- package/dist/debug.js +1 -1
- package/dist/{entity-DDks47JB.d.ts → entity-BIf_a4dl.d.ts} +1 -1
- package/dist/{entity-BI7cSlK8.d.ts → entity-XZNGBeca.d.ts} +32 -98
- package/dist/{entity-type-map-COHu4fkW.d.ts → entity-type-map-CkkFMSrL.d.ts} +5 -4
- package/dist/entity.d.ts +9 -7
- package/dist/entity.js +1 -1
- package/dist/{game-4fsy55uN.d.ts → game-BPOr7zTB.d.ts} +195 -17
- package/dist/game-default-7HCJJF5S.js +1 -0
- package/dist/graphics.d.ts +6 -5
- package/dist/graphics.js +1 -1
- package/dist/{material-BKPYeBC6.d.ts → material-CxxAyJYp.d.ts} +1 -1
- package/dist/public.d.ts +13 -11
- package/dist/public.js +1 -1
- package/dist/runtime.d.ts +3 -3
- package/dist/{vector-DPbwlzgG.d.ts → simulation-body-zQw-emOr.d.ts} +1 -40
- package/dist/vector-D3eDzvcA.d.ts +41 -0
- package/dist/web-components.d.ts +12 -9
- package/dist/web-components.js +1 -1
- package/dist/{zylem-camera-B73ZNcgs.d.ts → zylem-camera-DZTpPOiD.d.ts} +12 -1
- package/package.json +20 -17
- package/dist/chunk-3I537JFL.js +0 -1
- package/dist/chunk-4CHZUWLF.js +0 -1
- package/dist/chunk-6B5JP7T5.js +0 -24
- package/dist/chunk-C5NEGC3S.js +0 -1
- package/dist/chunk-D3JO4HW2.js +0 -1
- package/dist/chunk-LKFF6XJC.js +0 -1
- package/dist/chunk-OAWK2UUY.js +0 -1
- package/dist/chunk-PNLNC3FA.js +0 -1
- package/dist/chunk-W5SXED5T.js +0 -1
- package/dist/debug-state-s0s-qndj.d.ts +0 -49
- package/dist/game-default-4PPYYGAR.js +0 -1
- /package/dist/{chunk-DFLI7ICU.js → chunk-MSCVL5OK.js} +0 -0
package/dist/api/game-lib.api.md
CHANGED
|
@@ -34,6 +34,7 @@ import { BridgeHandler } from '@zylem/bridge';
|
|
|
34
34
|
import { GameLoadingPayload as BridgeLoadingPayload } from '@zylem/bridge';
|
|
35
35
|
import { BridgeMessages } from '@zylem/bridge';
|
|
36
36
|
import { BridgeMessageType } from '@zylem/bridge';
|
|
37
|
+
import { BridgePose } from '@zylem/bridge';
|
|
37
38
|
import { BridgeVec3 } from '@zylem/bridge';
|
|
38
39
|
import { BufferGeometry } from 'three';
|
|
39
40
|
import { BurstParticlePresetOptions } from '@zylem/behaviors';
|
|
@@ -90,10 +91,12 @@ import { EditorToGameMessages } from '@zylem/bridge';
|
|
|
90
91
|
import { emitRuntimeGoal } from '@zylem/behaviors/runtime-2d';
|
|
91
92
|
import { emitRuntimeRicochet } from '@zylem/behaviors/runtime-2d';
|
|
92
93
|
import { emitRuntimeTriggerRegionEnter } from '@zylem/behaviors/runtime-2d';
|
|
94
|
+
import { EntityApplySwatchPayload } from '@zylem/bridge';
|
|
93
95
|
import { EntityDefinition } from '@zylem/behaviors/core';
|
|
94
96
|
import { EntityHandle } from '@zylem/behaviors/core';
|
|
95
97
|
import { EntitySummaryPayload } from '@zylem/bridge';
|
|
96
98
|
import { EntityThumbnailPayload } from '@zylem/bridge';
|
|
99
|
+
import { EntityTypeDescriptor } from '@zylem/bridge';
|
|
97
100
|
import { exp } from 'three/tsl';
|
|
98
101
|
import { FacingAngle2DEntity } from '@zylem/behaviors';
|
|
99
102
|
import { fireCooldown } from '@zylem/behaviors';
|
|
@@ -279,6 +282,7 @@ import { RuntimeTriggerRegion2DEvent } from '@zylem/behaviors/runtime-2d';
|
|
|
279
282
|
import { RuntimeTriggerRegion2DHandle } from '@zylem/behaviors/runtime-2d';
|
|
280
283
|
import { RuntimeTriggerRegion2DOptions } from '@zylem/behaviors/runtime-2d';
|
|
281
284
|
import { Scene } from 'three';
|
|
285
|
+
import { SceneOperationPayload } from '@zylem/bridge';
|
|
282
286
|
import { ScreenVisibilityBehavior } from '@zylem/behaviors';
|
|
283
287
|
import { ScreenVisibilityChangeContext } from '@zylem/behaviors';
|
|
284
288
|
import { ScreenVisibilityFSM } from '@zylem/behaviors';
|
|
@@ -339,6 +343,7 @@ import { StageTopDownPlane } from '@zylem/behaviors/core';
|
|
|
339
343
|
import { Static } from '@sinclair/typebox';
|
|
340
344
|
import { step } from 'three/tsl';
|
|
341
345
|
import { Texture } from 'three';
|
|
346
|
+
import * as three from 'three';
|
|
342
347
|
import { ThrusterBehavior } from '@zylem/behaviors';
|
|
343
348
|
import { ThrusterBehaviorOptions } from '@zylem/behaviors';
|
|
344
349
|
import { ThrusterEntity } from '@zylem/behaviors';
|
|
@@ -715,6 +720,9 @@ export { clamp }
|
|
|
715
720
|
// @public
|
|
716
721
|
export function clearGlobalSubscriptions(): void;
|
|
717
722
|
|
|
723
|
+
// @public
|
|
724
|
+
export function closestAxisValue(ray: GizmoRay, origin: Vector3, axis: Vector3): number | null;
|
|
725
|
+
|
|
718
726
|
// @public
|
|
719
727
|
export interface CollisionComponent {
|
|
720
728
|
// (undocumented)
|
|
@@ -750,6 +758,20 @@ export function coneCollision(opts?: ConeCollisionOptions): CollisionComponent;
|
|
|
750
758
|
// @public
|
|
751
759
|
export function coneMesh(opts?: ConeMeshOptions): Mesh;
|
|
752
760
|
|
|
761
|
+
// @public
|
|
762
|
+
export class ConstructionGrid {
|
|
763
|
+
constructor();
|
|
764
|
+
// (undocumented)
|
|
765
|
+
addTo(scene: Scene): void;
|
|
766
|
+
// (undocumented)
|
|
767
|
+
dispose(): void;
|
|
768
|
+
setIncrement(increment: number): void;
|
|
769
|
+
// (undocumented)
|
|
770
|
+
setVisible(visible: boolean): void;
|
|
771
|
+
// (undocumented)
|
|
772
|
+
get visible(): boolean;
|
|
773
|
+
}
|
|
774
|
+
|
|
753
775
|
export { CooldownBehavior }
|
|
754
776
|
|
|
755
777
|
export { CooldownConfig }
|
|
@@ -969,6 +991,9 @@ export const debugState: DebugState;
|
|
|
969
991
|
// @public (undocumented)
|
|
970
992
|
export type DebugTools = 'select' | 'translate' | 'rotate' | 'scale' | 'delete' | 'add' | 'none';
|
|
971
993
|
|
|
994
|
+
// @public (undocumented)
|
|
995
|
+
export const DEFAULT_SNAP_SETTINGS: SnapSettings;
|
|
996
|
+
|
|
972
997
|
// @public
|
|
973
998
|
export function defaultTouchControls(player?: InputPlayer, options?: DefaultTouchControlsOptions): GameInputConfig;
|
|
974
999
|
|
|
@@ -987,6 +1012,9 @@ export { defineBehavior }
|
|
|
987
1012
|
|
|
988
1013
|
export { DefineBehaviorConfig }
|
|
989
1014
|
|
|
1015
|
+
// @public
|
|
1016
|
+
export function degreesToRadians(degrees: number): number;
|
|
1017
|
+
|
|
990
1018
|
// @public
|
|
991
1019
|
export function delay(ms: number): Action;
|
|
992
1020
|
|
|
@@ -1038,6 +1066,8 @@ export { emitRuntimeRicochet }
|
|
|
1038
1066
|
|
|
1039
1067
|
export { emitRuntimeTriggerRegionEnter }
|
|
1040
1068
|
|
|
1069
|
+
export { EntityApplySwatchPayload }
|
|
1070
|
+
|
|
1041
1071
|
// @public (undocumented)
|
|
1042
1072
|
export type EntityBlueprint = Static<typeof EntitySchema>;
|
|
1043
1073
|
|
|
@@ -1223,6 +1253,9 @@ export interface EntityTypeMap {
|
|
|
1223
1253
|
[ZONE_TYPE]: ZylemZone;
|
|
1224
1254
|
}
|
|
1225
1255
|
|
|
1256
|
+
// @public
|
|
1257
|
+
export function eulerToQuaternion(rotation: Vec3): Quat;
|
|
1258
|
+
|
|
1226
1259
|
// @public
|
|
1227
1260
|
export class EventEmitterDelegate<TEvents extends Record<string, unknown>> {
|
|
1228
1261
|
constructor();
|
|
@@ -1426,11 +1459,13 @@ export class GameBridge {
|
|
|
1426
1459
|
// (undocumented)
|
|
1427
1460
|
disconnect(): void;
|
|
1428
1461
|
onEditorAttached(callback: () => void): () => void;
|
|
1462
|
+
publishCatalog(entities: EntityTypeDescriptor[]): void;
|
|
1429
1463
|
// (undocumented)
|
|
1430
1464
|
publishConfig(config: GameConfigPayload): void;
|
|
1431
1465
|
// (undocumented)
|
|
1432
1466
|
publishLoading(payload: BridgeLoadingPayload): void;
|
|
1433
1467
|
publishNotice(level: GameNoticePayload['level'], message: string): void;
|
|
1468
|
+
publishSceneOperation(op: SceneOperationPayload): void;
|
|
1434
1469
|
// (undocumented)
|
|
1435
1470
|
publishStageSnapshot(snapshot: StageSnapshotPayload): void;
|
|
1436
1471
|
// (undocumented)
|
|
@@ -1443,11 +1478,15 @@ export class GameBridge {
|
|
|
1443
1478
|
queueEntityUpsert(entities: EntitySummaryPayload[]): void;
|
|
1444
1479
|
queueThumbnails(thumbnails: EntityThumbnailPayload[]): void;
|
|
1445
1480
|
wantsEntityUpdates(): boolean;
|
|
1481
|
+
wantsSceneOperations(): boolean;
|
|
1446
1482
|
wantsThumbnails(): boolean;
|
|
1447
1483
|
}
|
|
1448
1484
|
|
|
1449
1485
|
// @public
|
|
1450
1486
|
export interface GameBridgeHost {
|
|
1487
|
+
applySceneOperation?(op: SceneOperationPayload, direction: 'undo' | 'redo'): void;
|
|
1488
|
+
applySwatch?(payload: EntityApplySwatchPayload): void;
|
|
1489
|
+
createEntity?(typeId: string, props: Record<string, unknown> | undefined, pose: BridgePose | undefined): void;
|
|
1451
1490
|
resolveEntity(uuid: string): GameEntity<any> | null;
|
|
1452
1491
|
setStageVariable?(key: string, value: unknown): void;
|
|
1453
1492
|
}
|
|
@@ -1631,9 +1670,11 @@ export class GameEntity<O extends GameEntityOptions> extends BaseNode<O> impleme
|
|
|
1631
1670
|
clearActions(): void;
|
|
1632
1671
|
// (undocumented)
|
|
1633
1672
|
clone(overrides?: Partial<O>): this;
|
|
1673
|
+
colliderBaseline: SimulationColliderDefinition[] | null;
|
|
1634
1674
|
// (undocumented)
|
|
1635
1675
|
colliderDesc: SimulationColliderDefinition | undefined;
|
|
1636
1676
|
colliderDescs: SimulationColliderDefinition[];
|
|
1677
|
+
colliderScaleDirty: boolean;
|
|
1637
1678
|
// Warning: (ae-forgotten-export) The symbol "CollisionDispatchMetadata" needs to be exported by the entry point public.d.ts
|
|
1638
1679
|
//
|
|
1639
1680
|
// (undocumented)
|
|
@@ -1681,6 +1722,7 @@ export class GameEntity<O extends GameEntityOptions> extends BaseNode<O> impleme
|
|
|
1681
1722
|
getPosition: () => Vector | null;
|
|
1682
1723
|
// (undocumented)
|
|
1683
1724
|
getRotation: () => any;
|
|
1725
|
+
getScale(): Vec3;
|
|
1684
1726
|
// (undocumented)
|
|
1685
1727
|
getVelocity: () => Vector | null;
|
|
1686
1728
|
// (undocumented)
|
|
@@ -1771,6 +1813,7 @@ export class GameEntity<O extends GameEntityOptions> extends BaseNode<O> impleme
|
|
|
1771
1813
|
setRotationY: (y: number) => void;
|
|
1772
1814
|
// (undocumented)
|
|
1773
1815
|
setRotationZ: (z: number) => void;
|
|
1816
|
+
setScale(x: number, y: number, z: number): void;
|
|
1774
1817
|
_setup(params: SetupContext<this>): void;
|
|
1775
1818
|
_spawnInProgress: boolean;
|
|
1776
1819
|
_spawnPlacementPending: boolean;
|
|
@@ -2098,6 +2141,12 @@ export function getSelectedEntity(): GameEntity<any> | null;
|
|
|
2098
2141
|
// @public (undocumented)
|
|
2099
2142
|
export function getSelectedEntityId(): string | null;
|
|
2100
2143
|
|
|
2144
|
+
// @public
|
|
2145
|
+
export function getSelectedEntityIds(): string[];
|
|
2146
|
+
|
|
2147
|
+
// @public
|
|
2148
|
+
export function getSnapSettings(): SnapSettings;
|
|
2149
|
+
|
|
2101
2150
|
// @public
|
|
2102
2151
|
export function getVariable<T = unknown>(target: object, path: string): T | undefined;
|
|
2103
2152
|
|
|
@@ -2105,6 +2154,33 @@ export { getVelocity }
|
|
|
2105
2154
|
|
|
2106
2155
|
export { getZylemBridge }
|
|
2107
2156
|
|
|
2157
|
+
// @public
|
|
2158
|
+
export type GizmoAxis = 'x' | 'y' | 'z' | 'xy' | 'yz' | 'xz' | 'xyz';
|
|
2159
|
+
|
|
2160
|
+
// @public
|
|
2161
|
+
export type GizmoDelta = {
|
|
2162
|
+
kind: 'translate';
|
|
2163
|
+
offset: Vector3;
|
|
2164
|
+
} | {
|
|
2165
|
+
kind: 'rotate';
|
|
2166
|
+
axis: Vector3;
|
|
2167
|
+
angle: number;
|
|
2168
|
+
} | {
|
|
2169
|
+
kind: 'scale';
|
|
2170
|
+
factor: Vector3;
|
|
2171
|
+
};
|
|
2172
|
+
|
|
2173
|
+
// @public (undocumented)
|
|
2174
|
+
export type GizmoMode = 'translate' | 'rotate' | 'scale';
|
|
2175
|
+
|
|
2176
|
+
// @public
|
|
2177
|
+
export interface GizmoRay {
|
|
2178
|
+
// (undocumented)
|
|
2179
|
+
direction: Vector3;
|
|
2180
|
+
// (undocumented)
|
|
2181
|
+
origin: Vector3;
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2108
2184
|
// @public
|
|
2109
2185
|
export function globalChange<T = any>(key: string, callback: (value: T, ctx: UpdateContext<any>) => void): (ctx: UpdateContext<any>) => void;
|
|
2110
2186
|
|
|
@@ -2202,6 +2278,9 @@ export interface InputProvider {
|
|
|
2202
2278
|
// @public (undocumented)
|
|
2203
2279
|
export type Inputs = Record<InputPlayer, InputGamepad>;
|
|
2204
2280
|
|
|
2281
|
+
// @public
|
|
2282
|
+
export function intersectPlane(ray: GizmoRay, origin: Vector3, normal: Vector3, target: Vector3): Vector3 | null;
|
|
2283
|
+
|
|
2205
2284
|
// @public
|
|
2206
2285
|
export function isGLSLShader(shader: ZylemShader): shader is ZylemShaderObject;
|
|
2207
2286
|
|
|
@@ -2211,6 +2290,12 @@ export function isManagedRenderEntity(entity: {
|
|
|
2211
2290
|
isBundled?: boolean;
|
|
2212
2291
|
}): boolean;
|
|
2213
2292
|
|
|
2293
|
+
// @public (undocumented)
|
|
2294
|
+
export function isPickMode(): boolean;
|
|
2295
|
+
|
|
2296
|
+
// @public (undocumented)
|
|
2297
|
+
export function isTransformTool(tool: DebugTools): tool is TransformTool;
|
|
2298
|
+
|
|
2214
2299
|
// @public
|
|
2215
2300
|
export function isTSLShader(shader: ZylemShader): shader is ZylemTSLShader;
|
|
2216
2301
|
|
|
@@ -2654,6 +2739,24 @@ export function pyramidCollision(opts?: PyramidCollisionOptions): CollisionCompo
|
|
|
2654
2739
|
// @public
|
|
2655
2740
|
export function pyramidMesh(opts?: PyramidMeshOptions): Mesh;
|
|
2656
2741
|
|
|
2742
|
+
// @public
|
|
2743
|
+
export interface Quat {
|
|
2744
|
+
// (undocumented)
|
|
2745
|
+
w: number;
|
|
2746
|
+
// (undocumented)
|
|
2747
|
+
x: number;
|
|
2748
|
+
// (undocumented)
|
|
2749
|
+
y: number;
|
|
2750
|
+
// (undocumented)
|
|
2751
|
+
z: number;
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2754
|
+
// @public
|
|
2755
|
+
export function quaternionToEuler(rotation: Quat): Vec3;
|
|
2756
|
+
|
|
2757
|
+
// @public
|
|
2758
|
+
export function radiansToDegrees(radians: number): number;
|
|
2759
|
+
|
|
2657
2760
|
// @public (undocumented)
|
|
2658
2761
|
export const RECT_TYPE: unique symbol;
|
|
2659
2762
|
|
|
@@ -2997,6 +3100,9 @@ export { SemanticParticlePresetOptions }
|
|
|
2997
3100
|
// @public
|
|
2998
3101
|
export function sequence(...actions: Action[]): Action;
|
|
2999
3102
|
|
|
3103
|
+
// @public
|
|
3104
|
+
export function setAddType(typeId: string | null, props?: Record<string, unknown> | null): void;
|
|
3105
|
+
|
|
3000
3106
|
// @public
|
|
3001
3107
|
export function setCameraFeed(entity: StageEntity, camera: CameraWrapper, options?: CameraFeedOptions): void;
|
|
3002
3108
|
|
|
@@ -3006,12 +3112,18 @@ export function setDebugTool(tool: DebugTools): void;
|
|
|
3006
3112
|
// @public
|
|
3007
3113
|
export function setGlobal(path: string, value: unknown): void;
|
|
3008
3114
|
|
|
3115
|
+
// @public (undocumented)
|
|
3116
|
+
export function setGridVisible(visible: boolean): void;
|
|
3117
|
+
|
|
3009
3118
|
// @public (undocumented)
|
|
3010
3119
|
export function setHoveredEntityId(uuid: string | null): void;
|
|
3011
3120
|
|
|
3012
3121
|
// @public (undocumented)
|
|
3013
3122
|
export function setPaused(paused: boolean): void;
|
|
3014
3123
|
|
|
3124
|
+
// @public
|
|
3125
|
+
export function setPickMode(enabled: boolean): void;
|
|
3126
|
+
|
|
3015
3127
|
export { setPosition }
|
|
3016
3128
|
|
|
3017
3129
|
export { setPositionX }
|
|
@@ -3050,6 +3162,12 @@ export function setSelectedEntity(entity: GameEntity<any> | string | null): void
|
|
|
3050
3162
|
// @public (undocumented)
|
|
3051
3163
|
export function setSelectedEntityId(uuid: string | null): void;
|
|
3052
3164
|
|
|
3165
|
+
// @public
|
|
3166
|
+
export function setSelectedEntityIds(uuids: string[]): void;
|
|
3167
|
+
|
|
3168
|
+
// @public (undocumented)
|
|
3169
|
+
export function setSnapSettings(snap: Partial<SnapSettings>): void;
|
|
3170
|
+
|
|
3053
3171
|
// @public (undocumented)
|
|
3054
3172
|
export function setStageFrameProfilerEnabled(value: boolean): void;
|
|
3055
3173
|
|
|
@@ -3186,6 +3304,26 @@ export { sin }
|
|
|
3186
3304
|
|
|
3187
3305
|
export { smoothstep }
|
|
3188
3306
|
|
|
3307
|
+
// @public
|
|
3308
|
+
export function snapScale(value: Vec3, increment: number): Vec3;
|
|
3309
|
+
|
|
3310
|
+
// @public
|
|
3311
|
+
export interface SnapSettings {
|
|
3312
|
+
// (undocumented)
|
|
3313
|
+
enabled: boolean;
|
|
3314
|
+
rotate: number;
|
|
3315
|
+
// (undocumented)
|
|
3316
|
+
scale: number;
|
|
3317
|
+
// (undocumented)
|
|
3318
|
+
translate: number;
|
|
3319
|
+
}
|
|
3320
|
+
|
|
3321
|
+
// @public
|
|
3322
|
+
export function snapToIncrement(value: number, increment: number): number;
|
|
3323
|
+
|
|
3324
|
+
// @public
|
|
3325
|
+
export function snapVec3(value: Vec3, increment: number): Vec3;
|
|
3326
|
+
|
|
3189
3327
|
// @public (undocumented)
|
|
3190
3328
|
export const SPHERE_TYPE: unique symbol;
|
|
3191
3329
|
|
|
@@ -3662,8 +3800,45 @@ export const touchThemes: {
|
|
|
3662
3800
|
readonly lagoon: TouchTheme;
|
|
3663
3801
|
};
|
|
3664
3802
|
|
|
3803
|
+
// @public
|
|
3804
|
+
export const TRANSFORM_TOOLS: readonly ["translate", "rotate", "scale"];
|
|
3805
|
+
|
|
3665
3806
|
export { TransformComponent }
|
|
3666
3807
|
|
|
3808
|
+
// @public (undocumented)
|
|
3809
|
+
export class TransformGizmo {
|
|
3810
|
+
constructor();
|
|
3811
|
+
// (undocumented)
|
|
3812
|
+
addTo(scene: Scene): void;
|
|
3813
|
+
beginDrag(axis: GizmoAxis, ray: GizmoRay, camera: Camera): boolean;
|
|
3814
|
+
// (undocumented)
|
|
3815
|
+
dispose(): void;
|
|
3816
|
+
// (undocumented)
|
|
3817
|
+
get draggingAxis(): GizmoAxis | null;
|
|
3818
|
+
// (undocumented)
|
|
3819
|
+
endDrag(): void;
|
|
3820
|
+
// (undocumented)
|
|
3821
|
+
getMode(): GizmoMode;
|
|
3822
|
+
// (undocumented)
|
|
3823
|
+
hide(): void;
|
|
3824
|
+
// (undocumented)
|
|
3825
|
+
get isDragging(): boolean;
|
|
3826
|
+
pick(ray: GizmoRay): GizmoAxis | null;
|
|
3827
|
+
// (undocumented)
|
|
3828
|
+
get pivot(): Vector3;
|
|
3829
|
+
// (undocumented)
|
|
3830
|
+
removeFromScene(): void;
|
|
3831
|
+
readonly root: Group<three.Object3DEventMap>;
|
|
3832
|
+
setHighlight(axis: GizmoAxis | null): void;
|
|
3833
|
+
// (undocumented)
|
|
3834
|
+
setMode(mode: GizmoMode): void;
|
|
3835
|
+
show(pivot: Vector3): void;
|
|
3836
|
+
update(camera: Camera): void;
|
|
3837
|
+
updateDrag(ray: GizmoRay, camera: Camera): GizmoDelta | null;
|
|
3838
|
+
// (undocumented)
|
|
3839
|
+
get visible(): boolean;
|
|
3840
|
+
}
|
|
3841
|
+
|
|
3667
3842
|
// @public
|
|
3668
3843
|
export interface TransformLike {
|
|
3669
3844
|
// (undocumented)
|
|
@@ -3674,6 +3849,9 @@ export interface TransformLike {
|
|
|
3674
3849
|
|
|
3675
3850
|
export { TransformState }
|
|
3676
3851
|
|
|
3852
|
+
// @public (undocumented)
|
|
3853
|
+
export type TransformTool = (typeof TRANSFORM_TOOLS)[number];
|
|
3854
|
+
|
|
3677
3855
|
export { uniform }
|
|
3678
3856
|
|
|
3679
3857
|
export { updateBoundaryRicochet }
|
|
@@ -4645,16 +4823,16 @@ export class ZylemZone extends GameEntity<ZylemZoneOptions> implements Collision
|
|
|
4645
4823
|
|
|
4646
4824
|
// Warnings were encountered during analysis:
|
|
4647
4825
|
//
|
|
4648
|
-
// dist/entity-
|
|
4649
|
-
// dist/entity-
|
|
4650
|
-
// dist/entity-
|
|
4651
|
-
// dist/entity-
|
|
4652
|
-
// dist/entity-
|
|
4653
|
-
// dist/entity-
|
|
4654
|
-
// dist/entity-
|
|
4655
|
-
// dist/entity-
|
|
4656
|
-
// dist/game-
|
|
4657
|
-
// dist/game-
|
|
4826
|
+
// dist/entity-XZNGBeca.d.ts:332:5 - (ae-forgotten-export) The symbol "RenderCategory_2" needs to be exported by the entry point public.d.ts
|
|
4827
|
+
// dist/entity-XZNGBeca.d.ts:333:5 - (ae-forgotten-export) The symbol "RuntimeEntityOptions" needs to be exported by the entry point public.d.ts
|
|
4828
|
+
// dist/entity-XZNGBeca.d.ts:334:5 - (ae-forgotten-export) The symbol "CollisionOptions" needs to be exported by the entry point public.d.ts
|
|
4829
|
+
// dist/entity-XZNGBeca.d.ts:335:5 - (ae-forgotten-export) The symbol "MaterialOptions" needs to be exported by the entry point public.d.ts
|
|
4830
|
+
// dist/entity-XZNGBeca.d.ts:343:9 - (ae-forgotten-export) The symbol "IBuilder" needs to be exported by the entry point public.d.ts
|
|
4831
|
+
// dist/entity-XZNGBeca.d.ts:343:9 - (ae-forgotten-export) The symbol "EntityMeshBuilder" needs to be exported by the entry point public.d.ts
|
|
4832
|
+
// dist/entity-XZNGBeca.d.ts:344:9 - (ae-forgotten-export) The symbol "EntityCollisionBuilder" needs to be exported by the entry point public.d.ts
|
|
4833
|
+
// dist/entity-XZNGBeca.d.ts:345:9 - (ae-forgotten-export) The symbol "MaterialBuilder" needs to be exported by the entry point public.d.ts
|
|
4834
|
+
// dist/game-BPOr7zTB.d.ts:1060:5 - (ae-forgotten-export) The symbol "StageAssetLoaderConfig" needs to be exported by the entry point public.d.ts
|
|
4835
|
+
// dist/game-BPOr7zTB.d.ts:1735:5 - (ae-forgotten-export) The symbol "StageInterface" needs to be exported by the entry point public.d.ts
|
|
4658
4836
|
|
|
4659
4837
|
// (No @packageDocumentation comment for this package)
|
|
4660
4838
|
|