Синтаксис

AnimationState_SetTimePosition (HANDLE State, FLOAT Timepos)


Описание

Функция устанавливает текущее состояние анимации во времени.


Параметры 

State        Объект состояния анимации. 

Timepos        Время для установки анимации.


Пример

HANDLE State, Entity

FLOAT time

 

State:= Entity_GetAnimationStateEntity_GetAnimationState (Entity, “Walk”)


time := AnimationState_GetTimePositionAnimationState_GetTimePosition(~State)

time := AnimationState_SetTimePosition (~State, time + 0.1)


см. Класс AnimationStateAnimationState

Created with the Personal Edition of HelpNDoc: Upgrade your help files and your workflow with HelpNDoc's WinHelp HLP to CHM conversion