UeAnimation
Class representing a set of animation tracks for an object hierarchy.
Constructor​
new UeAnimation(name, duration, ticksPerSecond = 24)
Parameters​
name: Identifier string for the animation.duration: Total duration in ticks.ticksPerSecond: Playback speed (default 24).
Properties​
name: Name of the animation.duration: Duration in ticks.ticksPerSecond: Ticks per second.tracks: Array ofUeAnimationTrack.
Methods​
addTrack(track)​
Adds a UeAnimationTrack to this animation.
track: TheUeAnimationTrackinstance to add.
evaluate(time, root)​
Calculates the animation state at the specified time and applies it to the hierarchy starting from root.
time: Time in seconds.root: TheUeObject3Droot object of the hierarchy.