Creates a new AnimatedVectorN instance.
Map of animation track names to their corresponding samplers
The name of the initially active animation track
Gets the current blending ratio between animation tracks.
The current blending ratio
Sets the blending ratio between the first and second active animation tracks.
The blending ratio (0.0 = first track only, 1.0 = second track only)
Creates a deep copy of this vector.
A new VectorN instance with the same components as this vector
Removes an animation sampler from the available tracks.
The name of the animation track to remove
Gets all available animation track names.
An array containing all animation track names
Gets the animation sampler for a specific track.
The name of the animation track
The animation sampler for the specified track
Gets the name of the first active animation track.
The name of the first active animation track
Gets the vector components as a plain number array.
A new array containing the vector components
Gets the name of the second active animation track.
The name of the second active animation track, or undefined if not set
Checks if this vector is a dummy vector (has no components).
True if the vector has no components, false otherwise
Adds or updates an animation sampler for a specific track.
The name of the animation track
The animation sampler to set for the track
Sets the first active animation track by name.
The name of the animation track to set as first active
Sets the internal Float32Array and updates the animation state.
The new Float32Array to set
Sets the second active animation track by name for blending purposes.
The name of the animation track to set as second active
Sets a specific time for animation evaluation instead of using global time.
The time value to set for animation evaluation
Updates the vector values based on the current time and active animation tracks. Handles time looping, interpolation, and blending between multiple tracks.
Switches back to using the global animation time instead of a specific time.
Staticdummy
An animated vector class that extends VectorN and implements animation interpolation. This class manages multiple animation tracks and supports blending between them. It can interpolate vector values over time using animation samplers.