Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime > API/Runtime/AnimGraphRuntime/UAnimationStateMachineLibrary
References
| Module | AnimGraphRuntime |
| Header | /Engine/Source/Runtime/AnimGraphRuntime/Public/AnimationStateMachineLibrary.h |
| Include | #include "AnimationStateMachineLibrary.h" |
| Source | /Engine/Source/Runtime/AnimGraphRuntime/Private/AnimationStateMachineLibrary.cpp |
static void SetState
&40;
const FAnimUpdateContext & UpdateContext,
const FAnimationStateMachineReference & Node,
FName TargetState,
float Duration,
TEnumAsByte< ETransitionLogicType::Type > BlendType,
UBlendProfile &42; BlendProfile,
EAlphaBlendOption AlphaBlendOption,
UCurveFloat &42; CustomBlendCurve
&41;
Remarks
Manually set the current state of the state machine NOTE: Custom blend type is not supported