# Google Cloud Video Transcoder V1 Client - Class Animation (1.4.0)

1.4.0 (latest) 1.3.2 1.2.0 1.1.0 1.0.3 0.10.5 0.9.1 0.8.2 0.7.1 0.6.0 0.5.3 Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class Animation.

Animation types.

Generated from protobuf message `google.cloud.video.transcoder.v1.Overlay.Animation`

## Namespace

Google \\ Cloud \\ Video \\ Transcoder \\ V1 \\ Overlay

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ animation_static` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Overlay.AnimationStatic` Display static overlay object. |
| `↳ animation_fade` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Overlay.AnimationFade` Display overlay object with fade animation. |
| `↳ animation_end` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Overlay.AnimationEnd` End previous animation. |

### getAnimationStatic

Display static overlay object.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Overlay.AnimationStatic|null` |   |

### hasAnimationStatic

### setAnimationStatic

Display static overlay object.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Overlay.AnimationStatic` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAnimationFade

Display overlay object with fade animation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Overlay.AnimationFade|null` |   |

### hasAnimationFade

### setAnimationFade

Display overlay object with fade animation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Overlay.AnimationFade` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAnimationEnd

End previous animation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Overlay.AnimationEnd|null` |   |

### hasAnimationEnd

### setAnimationEnd

End previous animation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Overlay.AnimationEnd` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAnimationType

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |