AnimationState_SetWeight
Синтаксис
AnimationState_SetWeight (HANDLE State, FLOAT Weight)
Описание
Функция устанавливает вес анимации.
Параметры
State Объект состояния анимации.
Weight Вес анимации (от 0.0 до 1.0).
Пример
HANDLE State, Entity
State:= Entity_GetAnimationStateEntity_GetAnimationState (Entity, “Walk”)
AnimationState_SetWeight (~State, 0.5)
см. Класс AnimationStateAnimationState
Created with the Personal Edition of HelpNDoc: Elevate Your Documentation Process with HelpNDoc's Advanced Features