SetEntityAnimationTime()

语法

SetEntityAnimationTime(#Entity, Animation$, Time)
概要
Changes the current #Entity animation time. This is an absolute time position. To change the time relative to the current time, use AddEntityAnimationTime().

参数

#Entity The entity to use.
Animation$ The animation name. The animations are stored in the mesh object in a case-sensitive manner (ie: "Walk" will be a different animation than "walk"). If the animation isn't found or the mesh doesn't have a skeleton, this function will have no effect.
Time The absolute time to set (in milliseconds).

返回值

无.

参阅

StartEntityAnimation(), AddEntityAnimationTime(), GetEntityAnimationTime()

已支持操作系统

所有

<- SetEntityAnimationLength() - EntityAnimation Index - SetEntityAnimationWeight() ->