CESDK/CE.SDK/Engine/API Reference/Block
Animation Types
Get to know all available animation types and their properties
The following tables document the currently available effects and their properties.
Animations#
animation/baseline
#
animation/baseline
#Member | Type | Default | Description |
---|---|---|---|
Member direction | Type BaselineAnimationDirection | Default Up | Description The direction of the wipe animation. |
animation/block_swipe_text
#
animation/block_swipe_text
#Member | Type | Default | Description |
---|---|---|---|
Member blockColor | Type Color | Default createBlack() | Description The overlay block color. |
Member direction | Type BlockSwipeTextAnimationDirection | Default Right | Description The direction of the block swipe animation. |
Member useTextColor | Type bool | Default true | Description Whether the overlay block should use the text color. If false, the blockColor property will be used. |
animation/blur
#
animation/blur
#Member | Type | Default | Description |
---|---|---|---|
Member fade | Type bool | Default true | Description Whether an opacity fade animation should be applied during the blur animation. |
Member intensity | Type float | Default 1. | Description The maximum intensity of the blur. |
animation/blur_loop
#
animation/blur_loop
#Member | Type | Default | Description |
---|---|---|---|
Member intensity | Type float | Default 1.0 | Description The maximum blur intensity of this effect. |
animation/breathing_loop
#
animation/breathing_loop
#Member | Type | Default | Description |
---|---|---|---|
Member intensity | Type float | Default 0.0 | Description Controls the intensity of the scaling. A value of 0 results in a maximum scale of 1.25. A value of 1 results in a maximum scale of 2.5. |
animation/crop_zoom
#
animation/crop_zoom
#Member | Type | Default | Description |
---|---|---|---|
Member fade | Type bool | Default true | Description Whether an opacity fade animation should be applied during the crop zoom animation. |
Member scale | Type float | Default 1.25 | Description The maximum crop scale value. |
animation/fade
#
animation/fade
#No block-specific properties.
animation/fade_loop
#
animation/fade_loop
#No block-specific properties.
animation/grow
#
animation/grow
#Member | Type | Default | Description |
---|---|---|---|
Member direction | Type GrowAnimationDirection | Default All | Description Whether the grow animation should be applied to the width or height or both. |
animation/jump_loop
#
animation/jump_loop
#Member | Type | Default | Description |
---|---|---|---|
Member direction | Type JumpLoopAnimationDirection | Default Up | Description The direction of the jump animation. |
Member intensity | Type float | Default 0.5 | Description Controls how far the block should move. The value is a percentage of the block's width or height (depending on the movement direction). |
animation/merge_text
#
animation/merge_text
#Member | Type | Default | Description |
---|---|---|---|
Member direction | Type MergeTextAnimationDirection | Default Left | Description The in animation direction of the first line of text. |
Member intensity | Type float | Default 0.5 | Description The intensity of the pan. |
animation/pan
#
animation/pan
#Member | Type | Default | Description |
---|---|---|---|
Member direction | Type float | Default 0.0 | Description The movement direction of the animation in radians. |
Member distance | Type float | Default 0.1 | Description The movement distance relative to the longer side of the page. |
Member fade | Type bool | Default true | Description Whether an opacity fade animation should be applied during the pan animation. |
animation/pop
#
animation/pop
#No block-specific properties.
animation/pulsating_loop
#
animation/pulsating_loop
#Member | Type | Default | Description |
---|---|---|---|
Member intensity | Type float | Default 0.0 | Description Controls the intensity of the pulsating effect. A value of 0 results in a maximum scale of 1.25. A value of 1 results in a maximum scale of 2.5. |
animation/slide
#
animation/slide
#Member | Type | Default | Description |
---|---|---|---|
Member direction | Type float | Default 0.0 | Description The movement direction angle of the slide animation in radians. |
Member fade | Type bool | Default false | Description Whether an opacity fade animation should be applied during the slide animation. |
animation/spin
#
animation/spin
#Member | Type | Default | Description |
---|---|---|---|
Member direction | Type SpinAnimationDirection | Default Clockwise | Description The direction of the spin animation. |
Member fade | Type bool | Default true | Description Whether an opacity fade animation should be applied during the pan animation. |
Member intensity | Type float | Default 1.0 | Description How far the animation should spin the block. 1.0 is a full rotation (360°). |
animation/spin_loop
#
animation/spin_loop
#Member | Type | Default | Description |
---|---|---|---|
Member direction | Type SpinAnimationDirection | Default Clockwise | Description The direction of the spin animation. |
animation/spread_text
#
animation/spread_text
#Member | Type | Default | Description |
---|---|---|---|
Member fade | Type bool | Default true | Description Whether the text should fade in / out during the spread animation. |
Member intensity | Type float | Default 0.5 | Description The intensity of the spread. |
animation/squeeze_loop
#
animation/squeeze_loop
#No block-specific properties.
animation/sway_loop
#
animation/sway_loop
#Member | Type | Default | Description |
---|---|---|---|
Member intensity | Type float | Default 1.0 | Description The intensity of the animation. Defines the maximum sway angle between 15° and 45°. |
animation/typewriter_text
#
animation/typewriter_text
#Member | Type | Default | Description |
---|---|---|---|
Member writingStyle | Type TypewriterTextAnimationWritingStyle | Default Character | Description Whether the text should appear one character or one word at a time. |
animation/wipe
#
animation/wipe
#Member | Type | Default | Description |
---|---|---|---|
Member direction | Type WipeAnimationDirection | Default Right | Description The direction of the wipe animation. |
animation/zoom
#
animation/zoom
#Member | Type | Default | Description |
---|---|---|---|
Member fade | Type bool | Default true | Description Whether an opacity fade animation should be applied during the pan animation. |