Interface: IAnimatorData

查看 llm.txt

最后一次编辑于 2026-10-22

Animator组件数据接口。

Table of contents

Properties

Properties

autoPlay

• Optional autoPlay: IAnimatorAutoPlay

默认自动播放的参数,详见IAnimatorAutoPlay。 xml中为dict数据。


clipMap

• Optional clipMap: Object

默认的片段名字映射,由于一个动画可以有多个片段,所以能通过映射由Animator中播放的名字 -> 动画资源中片段的名字。 xml中为dict数据。

Index signature

▪ [key: string]: string


keyframe

• keyframe: Animation<any, any>

默认的Keyframe动画资源。 xml中为资源id。