@dcl/sdk 7.0.0-2569737935.commit-cdfa2fc → 7.0.0-2590698369.commit-b86034f
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/ecs7/index.d.ts
CHANGED
@@ -185,6 +185,7 @@ export declare type DeepReadonly<T> = {
|
|
185
185
|
};
|
186
186
|
|
187
187
|
declare function defineSdkComponents(engine: Pick<IEngine, 'defineComponent'>): {
|
188
|
+
Animator: ComponentDefinition<EcsType<PBAnimator>>;
|
188
189
|
AudioSource: ComponentDefinition<EcsType<PBAudioSource>>;
|
189
190
|
AudioStream: ComponentDefinition<EcsType<PBAudioStream>>;
|
190
191
|
BoxShape: ComponentDefinition<EcsType<PBBoxShape>>;
|
@@ -1104,6 +1105,20 @@ export declare enum Orientation {
|
|
1104
1105
|
CCW = 1
|
1105
1106
|
}
|
1106
1107
|
|
1108
|
+
declare interface PBAnimationState {
|
1109
|
+
name: string;
|
1110
|
+
clip: string;
|
1111
|
+
playing: boolean;
|
1112
|
+
weight: number;
|
1113
|
+
speed: number;
|
1114
|
+
loop: boolean;
|
1115
|
+
shouldReset: boolean;
|
1116
|
+
}
|
1117
|
+
|
1118
|
+
declare interface PBAnimator {
|
1119
|
+
states: PBAnimationState[];
|
1120
|
+
}
|
1121
|
+
|
1107
1122
|
declare interface PBAudioSource {
|
1108
1123
|
playing: boolean;
|
1109
1124
|
volume: number;
|