SetNodeAnimationLength()

Syntaxe

SetNodeAnimationLength(#NodeAnimation, Duree)
Description
Change la durée d'une animation.

Arguments

#NodeAnimation L'animation à utiliser.
Animation$ Le nom de l'animation.

Les animations sont stockées dans l'objet mesh de manière sensible à la casse (ex: "Marche" sera une animation différente de "marche").

Si l'animation n'est pas trouvée ou le mesh n'a pas de squelette alors la fonction n'aura aucun effet.
Duree La nouvelle durée de l'animation (en millisecondes).

Voir aussi

StartNodeAnimation(), GetNodeAnimationLength()

OS Supportés

Tous

<- SetNodeAnimationKeyFrameScale() - NodeAnimation Index - SetNodeAnimationTime() ->