Message HrzProtocol.ModelAnimation
Defined in hrz/protocol/layer/single_model_layer.proto.
Parameters for playing an animation defined in a 3D model.
The animation time is (global_time + phase) * speed.
speed: float
Speed multiplier applied to the animation. 1 is normal speed. Negative values play the animation backwards. When this is 0, the animation is not played.
phase: float
Time offset applied to the animation in seconds.
enabled_animations: string``[]
Names of the animations to play. If an animation with the given name is not found, the name is parsed as a base-10 integer, which gives the index of the animation (if applicable to the model format). In this last case, do not include any leading zero (except for “0”), or any other character. If empty, all animations are played.
All animations use the same clock.
Some models expect all their animations to be played together to work. Other contains conflicting animations and thus only a subset can be played concurrently.