Skip to content

AnimationFractionDynamicMaterialFloatDriver

Inheritance 2 ancestors · 48 siblings

Class Documentation

Edit documentation

A float driver that returns how far an animation has played: the current time of the animation divided by its length. The result runs from 0 at the start to 1 at the end.

The source can be any game object with an animation graph, so it works on units and on animated map props. The driver returns 0 without a source, when the source has no animation graph, when the name is not in the graph, and whenever the animation is not playing at that moment.

Properties

mAnimationName

Hash = "0x0"
Edit documentation

The name of the animation, as a hash. It is looked up in the animation graph of the source the same way the graph looks up a clip to play.