illutions 0.24.0 → 0.24.1
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/CHANGELOG.md +14 -0
- package/dist/main.d.ts +10 -2
- package/dist/main.min.cjs +1 -1
- package/dist/main.min.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.24.1
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Added the `PROGRESSBAR_HIDDEN` event.
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Renamed the `aaCfg` interface to `AaCfg`.
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- Fixed an incorrect `objTarget.position` when enabling orbit or FPV controls after setting it in `Cam3D.onReady()`.
|
|
16
|
+
|
|
3
17
|
## 0.24.0
|
|
4
18
|
|
|
5
19
|
### Added
|
package/dist/main.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ import { TierResult } from 'detect-gpu';
|
|
|
35
35
|
* Defines the shared anti-aliasing settings.
|
|
36
36
|
* @category Cfg
|
|
37
37
|
*/
|
|
38
|
-
export declare interface
|
|
38
|
+
export declare interface AaCfg {
|
|
39
39
|
/**
|
|
40
40
|
* Whether the GUI anti-aliasing dropdown is open.
|
|
41
41
|
* @default false
|
|
@@ -112,6 +112,8 @@ export declare class App<TClasses extends Classes = {}> {
|
|
|
112
112
|
private readonly inspector;
|
|
113
113
|
readonly comps: CompInsts<NonNullable<TClasses['comps']>>;
|
|
114
114
|
readonly objs3D: Obj3DInsts<NonNullable<TClasses['objs3D']>>;
|
|
115
|
+
private compsMap;
|
|
116
|
+
private objs3DMap;
|
|
115
117
|
/* Excluded from this release type: __constructor */
|
|
116
118
|
init(cfg: Cfg): Promise<void>;
|
|
117
119
|
/**
|
|
@@ -2011,7 +2013,7 @@ export declare interface PostCfg {
|
|
|
2011
2013
|
*/
|
|
2012
2014
|
guiOpened: boolean;
|
|
2013
2015
|
/** Anti-aliasing settings. */
|
|
2014
|
-
aa:
|
|
2016
|
+
aa: AaCfg;
|
|
2015
2017
|
/** Shared SSAO settings. */
|
|
2016
2018
|
ssao: SsaoCfg;
|
|
2017
2019
|
/** Shared SSR settings. */
|
|
@@ -2037,6 +2039,12 @@ export declare interface PostCfg {
|
|
|
2037
2039
|
};
|
|
2038
2040
|
}
|
|
2039
2041
|
|
|
2042
|
+
/** @event Fired after the progress bar has finished hiding and triggers the corresponding XState event. */
|
|
2043
|
+
export declare interface ProgressBarHiddenEvent {
|
|
2044
|
+
/** Identifies this event type. */
|
|
2045
|
+
type: 'PROGRESSBAR_HIDDEN';
|
|
2046
|
+
}
|
|
2047
|
+
|
|
2040
2048
|
/**
|
|
2041
2049
|
* The Raycast class manages pointer-based raycasting in a `THREE.Scene`. It tracks specified objects, detects cursor intersections with them, and triggers intersection and non-intersection events via
|
|
2042
2050
|
* the application state. The class dynamically enables or disables pointer listeners depending on the number of tracked objects. It also handles pointer events (click, down, up, move, enter, leave) for the
|