Mark task completion for extending LoadedModelAsset with animation clips
This commit is contained in:
@@ -23,7 +23,7 @@ Implement animation playback for imported GLB/GLTF assets in vertical slice orde
|
|||||||
- Generate pairs of instances differing only in `animationClipName` or `animationAutoplay`; assert `areModelInstancesEqual` returns false
|
- Generate pairs of instances differing only in `animationClipName` or `animationAutoplay`; assert `areModelInstancesEqual` returns false
|
||||||
- **Validates: Requirements 2.9**
|
- **Validates: Requirements 2.9**
|
||||||
|
|
||||||
- [-] 2. Extend `LoadedModelAsset` with animation clips
|
- [x] 2. Extend `LoadedModelAsset` with animation clips
|
||||||
- Add `animations: AnimationClip[]` to the `LoadedModelAsset` interface in `src/assets/gltf-model-import.ts`
|
- Add `animations: AnimationClip[]` to the `LoadedModelAsset` interface in `src/assets/gltf-model-import.ts`
|
||||||
- Update `createLoadedModelAsset` to accept and store `gltf.animations`
|
- Update `createLoadedModelAsset` to accept and store `gltf.animations`
|
||||||
- Update all call sites (`importModelAssetFromFiles`, `loadModelAssetFromStorage`) to pass the clips
|
- Update all call sites (`importModelAssetFromFiles`, `loadModelAssetFromStorage`) to pass the clips
|
||||||
|
|||||||
Reference in New Issue
Block a user