1
0
KF2-Dev-Scripts/KFGame/Classes/KFAnim_BlendList.uc

30 lines
1.1 KiB
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
//=============================================================================
// KFAnim_BlendList
//=============================================================================
// Added two optional fields to AnimNodeBlendList
// 1) BlendInTime per child
// 2) BlockSetActiveChildWhenRelevant per child
//=============================================================================
// Killing Floor 2
// Copyright (C) 2015 Tripwire Interactive LLC
//=============================================================================
//
class KFAnim_BlendList extends AnimNodeBlendList
native(Anim);
cpptext
{
// AnimTree editor interface
virtual void HandleSliderMove(INT SliderIndex, INT ValueIndex, FLOAT NewSliderValue);
}
// Custom blend in time for each child
var() Array<float> ChildBlendInTime;
/**
* Blend to DesiredChild index, only if node is not relevant in tree.
* This is used to blend until a transition animation is played.
*/
var() Array<bool> BlockSetActiveChildWhenRelevant;
native function SetActiveChild(INT ChildIndex, FLOAT BlendTime);