Kanzi  3.9.9
Kanzi Engine C++ API
Animations

Animations change the properties of objects and map input values to output property values. More...

Collaboration diagram for Animations:

Classes

class  kanzi::AbstractAnimation
 Interface for abstract animations. More...
 
class  kanzi::AnimationBindingProcessor
 Animation binding processor executes an animation and calculates the value for use in expression bindings. More...
 
class  kanzi::AnimationPlayer
 Use the Animation Player to play back an animation timeline that you set using the TimelineProperty property in that Animation Player. More...
 
class  kanzi::AnimationResource
 A Resource wrapper class for animations. More...
 
struct  kanzi::BackEasingFunction
 Changes the value back slightly before moving it toward the target. More...
 
struct  kanzi::BezierEasingFunction
 Changes the value according to a Bezier curve. More...
 
class  kanzi::KeyframeAnimation< TValueType >::BezierKeyframe
 Use bezier keyframes to animate property value along a bezier curve. More...
 
struct  kanzi::BounceEasingFunction
 Changes the value as a sequence of bounces. More...
 
struct  kanzi::CircleEasingFunction
 Changes the value using a circular function. More...
 
struct  kanzi::CubicEasingFunction
 Changes the value based on the cube of time using the function f(t) = t^3. More...
 
struct  kanzi::ElasticEasingFunction
 Changes the value that resembles an oscillating spring until it comes to rest. More...
 
struct  kanzi::ExponentialEasingFunction
 Changes the value with an exponential function with power that you can configure. More...
 
class  kanzi::FloatValueAccumulator
 Use a FloatValueAccumulator to increase the value of a float property type or a property field over time. More...
 
class  kanzi::FromToAnimation< TValueType, TEasingFunction >
 Template class for from-to animations. More...
 
class  kanzi::FromToAnimationBase< TValueType >
 Template base class for from-to animations. More...
 
class  kanzi::IntValueAccumulator
 Use an IntValueAccumulator to increase the value of an integer property type over time. More...
 
class  kanzi::KeyframeAnimation< TValueType >::Keyframe
 Keyframe defines a value for the animated property at a specific time in an animation timeline. More...
 
class  kanzi::KeyframeAnimation< TValueType >
 Template class for keyframe animations. More...
 
struct  kanzi::LinearEasingFunction
 Changes the value with constant velocity. More...
 
class  kanzi::KeyframeAnimation< TValueType >::LinearKeyframe
 Use linear keyframes to interpolate animated property value linearly between keyframes. More...
 
struct  kanzi::PowerEasingFunction
 Changes the value with a configurable power function using the function f(t) = t^p, where p is equal to the power parameter. More...
 
class  kanzi::PropertyDrivenAnimationPlayer
 Use Property Driven Animation Player when you want to use a property type to control a keyframe animation. More...
 
class  kanzi::PropertyTargetEasingInterpolator
 Use a Property Target Easing Interpolator when you want to create a smooth transition between the current value of a property and a value that you set dynamically. More...
 
class  kanzi::PropertyTargetInterpolator
 Use a Property Target Interpolator when you want to dynamically set the target value of a property and want to interpolate the current value to the target value over time. More...
 
struct  kanzi::QuadraticEasingFunction
 Changes the value based on the square of time using the function f(t) = t^2. More...
 
struct  kanzi::QuarticEasingFunction
 Changes the value based on the 4th order polynomial using the function f(t) = t^4. More...
 
struct  kanzi::QuinticEasingFunction
 Changes the value based on the 5th order polynomial using the function f(t) = t^5. More...
 
struct  kanzi::SineEasingFunction
 Changes the value with a sine formula. More...
 
struct  kanzi::SmootherStepEasingFunction
 Changes the value quickly without instant changes in velocity. More...
 
struct  kanzi::SmoothStepEasingFunction
 Changes the value quickly without instant changes in velocity. More...
 
struct  kanzi::StepEasingFunction
 Changes the value instantly. More...
 
class  kanzi::KeyframeAnimation< TValueType >::StepKeyframe
 Use Step keyframes to keep the value of the current keyframe constant up until the following keyframe. More...
 
class  kanzi::ValueAccumulatorBase
 ValueAccumulatorBase is the base class for the Value Accumulator implementations for different data types. More...
 
class  kanzi::ValueAccumulatorTimeline< TAccumulatedValue >
 Use ValueAccumulatorTimeline to create an animation that continuously adds the value of the input property to the target property. More...
 
class  kanzi::ValueAccumulatorTimelinePlayback< TAccumulatedValue >
 Playback for ValueAccumulatorTimeline. More...
 

Enumerations

enum  kanzi::AnimationEasingMode { kanzi::AnimationEaseIn, kanzi::AnimationEaseOut, kanzi::AnimationEaseInOut }
 Easing mode to use to apply an easing function. More...
 

Detailed Description

Animations change the properties of objects and map input values to output property values.

Easing functions that do not require external dependencies for calculation.

Easing functions that require external dependencies for calculation.

You can find the easing functions that do not require external dependencies for calculation in easing_curve_shared.hpp.

You can use these functions by including this header, without having to include the rest of the Kanzi Engine or third-party libraries. More easing functions are available in easing_curve.hpp.

Enumeration Type Documentation

Easing mode to use to apply an easing function.

Enumerator
AnimationEaseIn 

Applies to an interpolation an easing function.

AnimationEaseOut 

Applies to an interpolation the negative value of an easing function.

AnimationEaseInOut 

Applies to the first half of an interpolation an easing function, and to the second half of an interpolation the negative value of an easing function.