# Interface: IAnimatorData

[Animator](/miniprogram/dev/reference/xr-frame/api/classes/Animator)组件数据接口。

## Table of contents

### Properties

- autoPlay
- clipMap
- keyframe

## Properties

### autoPlay

• `Optional` **autoPlay**: [`IAnimatorAutoPlay`](IAnimatorAutoPlay)

默认自动播放的参数，详见[IAnimatorAutoPlay](IAnimatorAutoPlay)。
`xml`中为`dict`数据。

___

### clipMap

• `Optional` **clipMap**: `Object`

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

#### Index signature

▪ [key: `string`]: `string`

___

### keyframe

• **keyframe**: [`Animation`](/miniprogram/dev/reference/xr-frame/api/classes/Animation)

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