渲染顺序功能

This commit is contained in:
tianmo committed 2026-10-22 11:16:50 +08:00
1 parent aabf4ff693
commit c041503004
22 files changed
+1904 -1291

No files matched your search

+10
View File
@@ -12,6 +12,14 @@ export interface SpineBoneInfo {
depth: number
}
/** 插槽信息;order 为 setup 姿态下的绘制顺序(Spine drawOrder 可能被动画改变)。 */
export interface SpineSlotInfo {
name: string
order: number
bone: string
attachment: string
}
export interface SpineSceneObject {
id: number
name: string
@@ -32,8 +40,10 @@ export interface SpineSceneObject {
sourceBundle: SpineSourceBundle | null
selectedAnimation: string
selectedBone: string
selectedSlot: string
animations: SpineAnimationInfo[]
bones: SpineBoneInfo[]
slots: SpineSlotInfo[]
assetVersion: number
status: 'empty' | 'loading' | 'ready' | 'error'
error: string