[@applemusic-like-lyrics/react](../README.md) / [Exports](../modules.md) / BackgroundRenderProps

# Interface: BackgroundRenderProps

背景渲染组件的属性

## Table of contents

### Properties

- [albumImageUrl](BackgroundRenderProps.md#albumimageurl)
- [flowSpeed](BackgroundRenderProps.md#flowspeed)
- [fps](BackgroundRenderProps.md#fps)
- [playing](BackgroundRenderProps.md#playing)
- [renderScale](BackgroundRenderProps.md#renderscale)

## Properties

### albumImageUrl

• `Optional` **albumImageUrl**: `string`

设置背景专辑图片

#### Defined in

[packages/react/src/bg-render.tsx:17](https://github.com/Steve-xmh/applemusic-like-lyrics/blob/3f124db/packages/react/src/bg-render.tsx#L17)

___

### flowSpeed

• `Optional` **flowSpeed**: `number`

设置当前动画流动速度，如果为 `undefined` 则默认为 `2`

#### Defined in

[packages/react/src/bg-render.tsx:29](https://github.com/Steve-xmh/applemusic-like-lyrics/blob/3f124db/packages/react/src/bg-render.tsx#L29)

___

### fps

• `Optional` **fps**: `number`

设置当前背景动画帧率，如果为 `undefined` 则默认为 `30`

#### Defined in

[packages/react/src/bg-render.tsx:21](https://github.com/Steve-xmh/applemusic-like-lyrics/blob/3f124db/packages/react/src/bg-render.tsx#L21)

___

### playing

• `Optional` **playing**: `boolean`

设置当前播放状态，如果为 `undefined` 则默认为 `true`

#### Defined in

[packages/react/src/bg-render.tsx:25](https://github.com/Steve-xmh/applemusic-like-lyrics/blob/3f124db/packages/react/src/bg-render.tsx#L25)

___

### renderScale

• `Optional` **renderScale**: `number`

设置当前渲染缩放比例，如果为 `undefined` 则默认为 `0.5`

#### Defined in

[packages/react/src/bg-render.tsx:33](https://github.com/Steve-xmh/applemusic-like-lyrics/blob/3f124db/packages/react/src/bg-render.tsx#L33)
