Creates an instance of WebaniInterpolatedAnimation.
Configuration options for the animation.
Whether the animation plays in reverse.
Duration of the animation in milliseconds.
The interpolation function used for the animation.
Getter for the unresolved after state of the object.
Getter for the unresolved before state of the object.
Determines if the animation has completed.
The animation is considered done when the time t exceeds the duration.
The time of the animation.
true if the animation has completed, otherwise false.
Calculates and returns the transformed object at the current frame of the animation.
The time or progress of the animation, typically between 0 and 1.
The current state of the animated object.
Interpolates the progress of the animation based on the time t.
The time or progress of the animation, typically between 0 and 1.
A normalized value between 0 and 1 representing the progress of the animation.
Resolves the before and after camera states by creating shallow copies of them.
This ensures that the original camera objects are not mutated during the animation.
Resolves the transforms of the before and after objects to ensure they have the same number of extra transforms.
This function ensures that the animation has a consistent structure when resolving the transforms.
Sets the camera state at the current frame of the animation.
This method will create a new WebaniPerspectiveCamera object.
The time of the animation.
A new instance of WebaniPerspectiveCamera.
StaticcubicCubic interpolation function.
The start value.
The end value.
The progress of the interpolation.
The interpolated value with cubic easing.
StaticeaseEase-in-out interpolation function.
The start value.
The end value.
The progress of the interpolation.
The interpolated value with ease-in-out easing.
StaticlerpLinear interpolation function.
The start value.
The end value.
The progress of the interpolation.
The interpolated value.
A specific implementation of
WebaniInterpolatedAnimationfor animating aWebaniPerspectiveCameraobject. This class handles the interpolation of camera properties over time.