Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FAnimInstanceProxy
Description
Get the index of the specified instance asset player. Useful to pass to GetInstanceAssetPlayerLength (etc.). Passing NAME_None to InstanceName will return the first (assumed only) player instance index found.
| Name | GetInstanceAssetPlayerIndex |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Animation/AnimInstanceProxy.h |
| Include Path | #include "Animation/AnimInstanceProxy.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimInstanceProxy.cpp |
int32 GetInstanceAssetPlayerIndex
(
FName MachineName,
FName StateName,
FName InstanceName
) const