exodeui 6.3.47 → 6.3.49
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/index.js +31 -31
- package/dist/index.mjs +2387 -2367
- package/dist/src/engine.d.ts +2 -1
- package/dist/src/types.d.ts +8 -0
- package/dist/src/useExodeUI.d.ts +1 -0
- package/package.json +1 -1
package/dist/src/engine.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare class ExodeUIEngine {
|
|
|
6
6
|
private physicsEngine;
|
|
7
7
|
private activeStateMachine;
|
|
8
8
|
private inputs;
|
|
9
|
-
getInputValue(
|
|
9
|
+
getInputValue(nameOrId: string): any;
|
|
10
10
|
private inputNameMap;
|
|
11
11
|
private layerStates;
|
|
12
12
|
private pretextCache;
|
|
@@ -146,6 +146,7 @@ export declare class ExodeUIEngine {
|
|
|
146
146
|
private evaluateLogicTree;
|
|
147
147
|
private runLogicNodes;
|
|
148
148
|
private resolvePath;
|
|
149
|
+
private processLogicProperties;
|
|
149
150
|
private activeTriggers;
|
|
150
151
|
seek(time: number): void;
|
|
151
152
|
advance(dt: number): void;
|
package/dist/src/types.d.ts
CHANGED
|
@@ -603,6 +603,13 @@ export interface BoneObject {
|
|
|
603
603
|
behaviors?: Behavior[];
|
|
604
604
|
masks?: any[];
|
|
605
605
|
}
|
|
606
|
+
export interface LogicProperty {
|
|
607
|
+
id: string;
|
|
608
|
+
name: string;
|
|
609
|
+
valueType: 'variable' | 'constant' | 'expression';
|
|
610
|
+
variableId?: string;
|
|
611
|
+
value?: any;
|
|
612
|
+
}
|
|
606
613
|
export interface ShapeObject {
|
|
607
614
|
type: 'Shape' | 'Group' | 'Component' | 'Frame' | 'Button' | 'Bone' | 'Toggle' | 'Slider' | 'Dropdown' | 'ListView' | 'Checkbox' | 'RadioGroup' | 'BarChart' | 'PieChart';
|
|
608
615
|
id: string;
|
|
@@ -651,6 +658,7 @@ export interface ShapeObject {
|
|
|
651
658
|
bindMatrices?: {
|
|
652
659
|
[boneId: string]: number[];
|
|
653
660
|
};
|
|
661
|
+
logicProperties?: LogicProperty[];
|
|
654
662
|
}
|
|
655
663
|
export interface Keyframe {
|
|
656
664
|
time: number;
|
package/dist/src/useExodeUI.d.ts
CHANGED
|
@@ -12,4 +12,5 @@ export declare function useExodeUI(): {
|
|
|
12
12
|
updateConstraint: (objectId: string, index: number, properties: any) => void;
|
|
13
13
|
updateGraphData: (nameOrId: string, data: number[]) => void;
|
|
14
14
|
updateObjectOptions: (objectId: string, options: any) => void;
|
|
15
|
+
getInputValue: (nameOrId: string) => any;
|
|
15
16
|
};
|