@luminocity/lemonate-engine 26.4.3 → 26.4.6
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/Renderer.d.ts +0 -2
- package/dist/SceneGraph.d.ts +1 -1
- package/dist/lemonate.es.js +257 -224
- package/dist/lemonate.js +257 -224
- package/dist/lemonate.min.js +3 -3
- package/dist/lemonate.umd.js +257 -224
- package/dist/player.zip +0 -0
- package/dist/scenegraph/SgItem.d.ts +1 -1
- package/dist/tools/Profiler.d.ts +4 -0
- package/package.json +1 -1
package/dist/player.zip
CHANGED
|
Binary file
|
|
@@ -66,7 +66,7 @@ export declare abstract class SgItem extends SgResourceOwner {
|
|
|
66
66
|
* this item's container to its parent directly. But in case where this item has a subNodeId, it is not directly
|
|
67
67
|
* a child of its parent but to one of its subnodes. We need to check if this subnode exists and then add
|
|
68
68
|
* ourselves to it. If that subnode does not exist, we will instead add to the parent directly again.
|
|
69
|
-
* This function needs to be called
|
|
69
|
+
* This function needs to be called whenever the parent updates its subnodes, because this would mean
|
|
70
70
|
* the subnode will suddenly appear/disappear and we need to update parenting again
|
|
71
71
|
*/
|
|
72
72
|
updateParenting(): void;
|
package/dist/tools/Profiler.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare class ProfilerTask {
|
|
|
11
11
|
constructor(parent: ProfilerTask | null, subsystem: string, taskname: string, profiler: Profiler);
|
|
12
12
|
done(): void;
|
|
13
13
|
pushChildTask(task: ProfilerTask): void;
|
|
14
|
+
findPerformanceIssuePath(limit?: number): string;
|
|
14
15
|
toData(): any;
|
|
15
16
|
}
|
|
16
17
|
export declare class Profiler {
|
|
@@ -23,12 +24,15 @@ export declare class Profiler {
|
|
|
23
24
|
lastRecording: any;
|
|
24
25
|
loggedCalls: Map<string, any>;
|
|
25
26
|
lastLoggedCalls?: any;
|
|
27
|
+
performanceWaningEnabled: boolean;
|
|
28
|
+
performanceWarningLimitMs: number;
|
|
26
29
|
constructor(engine: Engine);
|
|
27
30
|
logCall(name: string, func: Function): any;
|
|
28
31
|
getLastRecording(): any;
|
|
29
32
|
getLastLoggedCalls(): Map<string, any>;
|
|
30
33
|
startRecord(): void;
|
|
31
34
|
endRecordAfter(ms: number): ProfilerTask | null;
|
|
35
|
+
testPerformanceWarning(task: ProfilerTask, limit?: number): void;
|
|
32
36
|
endRecord(): ProfilerTask | null;
|
|
33
37
|
setEnabled(value: boolean): void;
|
|
34
38
|
measure(subsystem: string, taskname: string, func: Function): any;
|