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 |
UFUNCTION (BlueprintCallable, Category="State Machine",
Meta=(BlueprintThreadSafe, AdvancedDisplay="4"))
static void SetState
(
const FAnimUpdateContext & UpdateContext,
const FAnimationStateMachineReference & Node,
FName TargetState,
float Duration,
TEnumAsByte< ETransitionLogicType::Type > BlendType,
UBlendProfile * BlendProfile,
EAlphaBlendOption AlphaBlendOption,
UCurveFloat * CustomBlendCurve
)
Remarks
Manually set the current state of the state machine NOTE: Custom blend type is not supported