Skip to main content

Module animations

Module animations 

Source
Expand description

Composition animations.

Structs§

AnimationInstanceBase
The base class for both key-frame and expression animation instances Is responsible for activation tracking and for subscribing to properties used in dependencies
AnimationInstanceFactory
An animation instance on its way to the server.
BooleanInterpolator
“Interpolates” booleans: the value switches when the animation completes.
BooleanKeyFrameAnimation
A key frame animation of bool values.
ColorInterpolator
Interpolates Color values per ARGB channel.
ColorKeyFrameAnimation
A key frame animation of $crate :: media :: Color values.
CompositionAnimation
This is the base class for ExpressionAnimation and KeyFrameAnimation.
CompositionAnimationGroup
A group of animations started and stopped together on a composition object, each on its target property.
DoubleInterpolator
Interpolates double-precision scalars.
DoubleKeyFrameAnimation
A key frame animation of f64 values.
ExpressionAnimation
A Composition Animation that uses a mathematical equation to calculate the value for an animating property every frame.
ExpressionAnimationInstance
Server-side counterpart of ExpressionAnimation with values baked-in.
ImplicitAnimationCollection
A collection of animations triggered when a condition is met.
KeyFrame
Composition animation key frame
KeyFrameAnimation
A time-based animation with one or more key frames. These frames are markers, allowing developers to specify values at specific times for the animating property. KeyFrame animations can be further customized by specifying how the animation interpolates between keyframes.
KeyFrameAnimationInstance
Server-side counterpart of KeyFrameAnimation with values baked-in
KeyFrames
Collection of composition animation key frames
PropertySetSnapshot
A snapshot of properties used by an animation
PropertySetSnapshotSource
A snapshot of a property set as it is sent to the server: values and the ids of server objects. The snapshot itself is built from it on the server, where it resolves the ids and keeps handles to the objects.
PropertySetSnapshotValue
One value of a PropertySetSnapshot: a variant or an object.
QuaternionInterpolator
Interpolates Quaternion values (a normalized linear interpolation).
QuaternionKeyFrameAnimation
A key frame animation of $crate :: numerics :: Quaternion values.
RelativePointInterpolator
Interpolates RelativePoint values of the same unit; points of different units switch halfway.
RelativePointKeyFrameAnimation
A key frame animation of $crate :: RelativePoint values.
RelativeScalarInterpolator
Interpolates RelativeScalar values of the same unit; scalars of different units switch halfway.
RelativeScalarKeyFrameAnimation
A key frame animation of $crate :: RelativeScalar values.
ScalarInterpolator
Interpolates single-precision scalars.
ScalarKeyFrameAnimation
A key frame animation of f32 values.
ServerKeyFrame
Server-side composition animation key frame
SnapshotServerObject
The server object a reference parameter refers to, held weakly.
Vector2Interpolator
Interpolates Vector2 values.
Vector2KeyFrameAnimation
A key frame animation of $crate :: numerics :: Vector2 values.
Vector3DInterpolator
Interpolates Vector3D values.
Vector3DKeyFrameAnimation
A key frame animation of $crate :: Vector3D values.
Vector3Interpolator
Interpolates Vector3 values.
Vector3KeyFrameAnimation
A key frame animation of $crate :: numerics :: Vector3 values.
Vector4Interpolator
Interpolates Vector4 values.
Vector4KeyFrameAnimation
A key frame animation of $crate :: numerics :: Vector4 values.
VectorInterpolator
Interpolates Vector values.
VectorKeyFrameAnimation
A key frame animation of $crate :: Vector values.

Enums§

AnimationDelayBehavior
Specifies the animation delay behavior.
AnimationIterationBehavior
Specifies if the animation should loop.
AnimationStopBehavior
Specifies the behavior of an animation when it stops.
PropertySetSnapshotObject
The object a value of a snapshot refers to.
PropertySetSnapshotSourceValue
A value of a PropertySetSnapshotSource.

Traits§

IAnimationInstance
A running animation of one property of a server object.
ICompositionAnimation
The members of CompositionAnimation that code outside the animation classes uses: the target property and the creation of the instance that runs on the server.
ICompositionAnimationBase
Base class for composition animations.
IInterpolator
An interface to define interpolation logic for a particular type
IKeyFrames
The key frames of a key frame animation, whatever their value type.