Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime > API/Runtime/AnimGraphRuntime/FAnimNode_RandomPlayer
Description
Initialize the play data with the given index into the ValidEntries array and a specific blend weight. All other member data will be reset to their default values.
| Name | InitPlayData |
| Type | function |
| Header File | /Engine/Source/Runtime/AnimGraphRuntime/Public/AnimNodes/AnimNode_RandomPlayer.h |
| Include Path | #include "AnimNodes/AnimNode_RandomPlayer.h" |
| Source | /Engine/Source/Runtime/AnimGraphRuntime/Private/AnimNodes/AnimNode_RandomPlayer.cpp |
void InitPlayData
(
FRandomAnimPlayData & Data,
int32 InValidEntryIndex,
float InBlendWeight
)