@tresjs/cientos 5.0.0-next.7 → 5.0.0
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.
|
@@ -9,9 +9,11 @@ import { MaybeRef } from 'vue';
|
|
|
9
9
|
* @param {(Scene | Ref<Object3D | undefined | null>)} [modelRef]
|
|
10
10
|
* @return {*}
|
|
11
11
|
*/
|
|
12
|
-
export declare function useAnimations<T extends AnimationClip>(animations: MaybeRef<T[]>, modelRef?: MaybeRef<Object3D | undefined | null
|
|
12
|
+
export declare function useAnimations<T extends AnimationClip>(animations: MaybeRef<T[]>, modelRef?: MaybeRef<Object3D | undefined | null>, options?: {
|
|
13
|
+
manualUpdate?: boolean;
|
|
14
|
+
}): {
|
|
13
15
|
actions: import('vue').ShallowReactive<{
|
|
14
16
|
[key: string]: AnimationAction | undefined;
|
|
15
17
|
}>;
|
|
16
|
-
mixer: AnimationMixer
|
|
18
|
+
mixer: import('vue').ComputedRef<AnimationMixer>;
|
|
17
19
|
};
|
|
@@ -1383,7 +1383,7 @@ declare function __VLS_template(): {
|
|
|
1383
1383
|
};
|
|
1384
1384
|
width: number;
|
|
1385
1385
|
height: number;
|
|
1386
|
-
}[] | /*elided*/ any[]
|
|
1386
|
+
}[] | /*elided*/ any[];
|
|
1387
1387
|
channel: number;
|
|
1388
1388
|
wrapS: import('three').Wrapping;
|
|
1389
1389
|
wrapT: import('three').Wrapping;
|
|
@@ -2460,7 +2460,7 @@ declare function __VLS_template(): {
|
|
|
2460
2460
|
};
|
|
2461
2461
|
width: number;
|
|
2462
2462
|
height: number;
|
|
2463
|
-
}[] | /*elided*/ any[]
|
|
2463
|
+
}[] | /*elided*/ any[];
|
|
2464
2464
|
mapping: import('three').AnyMapping;
|
|
2465
2465
|
channel: number;
|
|
2466
2466
|
wrapS: import('three').Wrapping;
|
|
@@ -2767,7 +2767,7 @@ declare function __VLS_template(): {
|
|
|
2767
2767
|
dispatchEvent: <T extends "dispose">(event: import('three').BaseEvent<T> & {
|
|
2768
2768
|
dispose: {};
|
|
2769
2769
|
}[T]) => void;
|
|
2770
|
-
}[]
|
|
2770
|
+
}[];
|
|
2771
2771
|
mapping: import('three').AnyMapping;
|
|
2772
2772
|
channel: number;
|
|
2773
2773
|
wrapS: import('three').Wrapping;
|
|
@@ -4531,7 +4531,7 @@ declare function __VLS_template(): {
|
|
|
4531
4531
|
};
|
|
4532
4532
|
width: number;
|
|
4533
4533
|
height: number;
|
|
4534
|
-
}[] | /*elided*/ any[]
|
|
4534
|
+
}[] | /*elided*/ any[];
|
|
4535
4535
|
channel: number;
|
|
4536
4536
|
wrapS: import('three').Wrapping;
|
|
4537
4537
|
wrapT: import('three').Wrapping;
|
|
@@ -4802,7 +4802,7 @@ declare function __VLS_template(): {
|
|
|
4802
4802
|
dispatchEvent: <T extends "dispose">(event: import('three').BaseEvent<T> & {
|
|
4803
4803
|
dispose: {};
|
|
4804
4804
|
}[T]) => void;
|
|
4805
|
-
}[]
|
|
4805
|
+
}[];
|
|
4806
4806
|
mapping: import('three').AnyMapping;
|
|
4807
4807
|
channel: number;
|
|
4808
4808
|
wrapS: import('three').Wrapping;
|