Skip to content

Commit

Permalink
Merge pull request #61 from galacean/fix/animation
Browse files Browse the repository at this point in the history
fix: add animations into scene
  • Loading branch information
yiiqii authored May 23, 2024
2 parents f08a8c6 + 636b514 commit fe474d0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/scene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import type { FontBase, FontDefine } from './text';
import type { BinaryFile } from './binary';
import type { ComponentData, GeometryData, MaterialData, ShaderData } from './components';
import type { VFXItemData } from './vfx-item-data';
import type { AnimationClipData } from './animation-clip-data';

/**
* runtime 2.0 之前的场景信息
Expand Down Expand Up @@ -191,4 +192,8 @@ export interface JSONScene {
* 几何体数据
*/
geometries: GeometryData[],
/**
* 动画数据
*/
animations: AnimationClipData[],
}

0 comments on commit fe474d0

Please sign in to comment.