Skip to main content
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#

MemberTypeDefaultDescription
Member
direction
Type
BaselineAnimationDirection
Default
Up
Description
The direction of the wipe animation.

animation/block_swipe_text#

MemberTypeDefaultDescription
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#

MemberTypeDefaultDescription
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#

MemberTypeDefaultDescription
Member
intensity
Type
float
Default
1.0
Description
The maximum blur intensity of this effect.

animation/breathing_loop#

MemberTypeDefaultDescription
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#

MemberTypeDefaultDescription
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#

No block-specific properties.

animation/fade_loop#

No block-specific properties.

animation/grow#

MemberTypeDefaultDescription
Member
direction
Type
GrowAnimationDirection
Default
All
Description
Whether the grow animation should be applied to the width or height or both.

animation/jump_loop#

MemberTypeDefaultDescription
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#

MemberTypeDefaultDescription
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#

MemberTypeDefaultDescription
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#

No block-specific properties.

animation/pulsating_loop#

MemberTypeDefaultDescription
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#

MemberTypeDefaultDescription
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#

MemberTypeDefaultDescription
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#

MemberTypeDefaultDescription
Member
direction
Type
SpinAnimationDirection
Default
Clockwise
Description
The direction of the spin animation.

animation/spread_text#

MemberTypeDefaultDescription
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#

No block-specific properties.

animation/sway_loop#

MemberTypeDefaultDescription
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#

MemberTypeDefaultDescription
Member
writingStyle
Type
TypewriterTextAnimationWritingStyle
Default
Character
Description
Whether the text should appear one character or one word at a time.

animation/wipe#

MemberTypeDefaultDescription
Member
direction
Type
WipeAnimationDirection
Default
Right
Description
The direction of the wipe animation.

animation/zoom#

MemberTypeDefaultDescription
Member
fade
Type
bool
Default
true
Description
Whether an opacity fade animation should be applied during the pan animation.