Navigation
API > API/Editor > API/Editor/AnimGraph
Inheritance Hierarchy
- UEdGraphNode
- UAnimStateNodeBase
- UAnimStateTransitionNode
References
| Module | AnimGraph |
| Header | /Engine/Source/Editor/AnimGraph/Public/AnimStateTransitionNode.h |
| Include | #include "AnimStateTransitionNode.h" |
Syntax
UCLASS (MinimalAPI, Config=Editor)
class UAnimStateTransitionNode : public UAnimStateNodeBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | AutomaticRuleTriggerTime | When should the automatic transition rule trigger relative to the time remaining on the relevant asset player: < 0 means trigger the transition 'Crossfade Duration' seconds before the end of the asset player, so a standard blend would finish just as the asset player ends >= 0 means trigger the transition 'Automatic Rule Trigger Time' seconds before the end of the asset player | |
| bool | bAutomaticRuleBasedOnSequencePlayerInState | Try setting the rule automatically based on most relevant asset player node's remaining time and the Automatic Rule Trigger Time of the transition, ignoring the internal time. | |
| bool | Bidirectional | This transition can go both directions | |
| EAlphaBlendOption | BlendMode | ||
| TObjectPtr< UBlendProfile > | BlendProfile | The blend profile to use to evaluate this transition per-bone. | |
| TObjectPtr< class UEdGraph > | BoundGraph | The transition logic graph for this transition (returning a boolean) | |
| bool | bSharedCrossfade | The cross-fade settings of this node may be shared | |
| bool | bSharedRules | The rules for this transition may be shared with other transition nodes | |
| float | CrossfadeDuration | The duration to cross-fade for. | |
| TObjectPtr< UCurveFloat > | CustomBlendCurve | ||
| TObjectPtr< class UEdGraph > | CustomTransitionGraph | The animation graph for this transition if it uses custom blending (returning a pose) | |
| TEnumAsByte< ETransitionLogicType::Type > | LogicType | What transition logic to use. | |
| int32 | PriorityOrder | The priority order of this transition. | |
| FLinearColor | SharedColor | Color we draw in the editor as if we are shared | |
| FGuid | SharedCrossfadeGuid | ||
| int32 | SharedCrossfadeIdx | ||
| FString | SharedCrossfadeName | ||
| FGuid | SharedRulesGuid | Shared rules guid useful when copying between different state machines | |
| FString | SharedRulesName | What we call this transition if we are shared ('Transition X to Y' can't be used since its used in multiple places) | |
| FName | SyncGroupNameToRequireValidMarkersRule | If SyncGroupName is specified, Transition will only be taken if the SyncGroup has valid markers (other transition rules still apply in addition to that). | |
| FAnimNotifyEvent | TransitionEnd | ||
| FAnimNotifyEvent | TransitionInterrupt | ||
| FAnimNotifyEvent | TransitionStart |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAnimStateTransitionNode
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| bool | |||
| void | CopyCrossfadeSettings
(
const UAnimStateTransitionNode* SrcNode |
||
| void | |||
| void | CreateConnections
(
UAnimStateNodeBase* PreviousState, |
||
| void | |||
| void | DestroyNode () |
||
| UEdGraph * | |||
| TArray< UAnimStateTransitionNode * > | GetListTransitionNodesToRelink
(
UEdGraphPin* SourcePin, |
Helper function to gather the transition nodes to be relinked by taking the graph selection into account as well. | |
| UAnimStateNodeBase * | GetNextState () |
||
| FText | GetNodeTitle
(
ENodeTitleType::Type TitleType |
||
| FLinearColor | |||
| UAnimStateNodeBase * | |||
| TArray< UEdGraph * > | GetSubGraphs () |
||
| FText | |||
| bool | Returns true if this nodes BoundGraph is shared with another node in the parent graph | ||
| bool | IsReverseTrans
(
const UAnimStateNodeBase* Node |
||
| void | MakeCrossfadeShareable
(
FString ShareName |
||
| void | MakeRulesShareable
(
FString ShareName |
||
| void | PinConnectionListChanged
(
UEdGraphPin* Pin |
||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | |||
| void | |||
| void | |||
| void | RelinkHead
(
UAnimStateNodeBase* NewTargetState |
Relink transition head (where the arrow is of a state transition) to a new state. | |
| void | |||
| void | UnshareRules () |
||
| void | UseSharedCrossfade
(
const UAnimStateTransitionNode* Node |
||
| void | UseSharedRules
(
const UAnimStateTransitionNode* Node |
||
| bool | Validates any currently set blend profile, ensuring it's valid for the current skeleton | ||
| void | ValidateNodeDuringCompilation
(
FCompilerResultsLog& MessageLog |
Overridden from UAnimStateNodeBase
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| UEdGraph * | |||
| UEdGraphPin * | GetInputPin () |
||
| UObject * | |||
| UEdGraphPin * | GetOutputPin () |
||
| FString | GetStateName () |
||
| void | PostLoad () |
||
| void | |||
| void | Serialize
(
FArchive& Ar |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| TEnumAsByte< ETransitionBlendMode::Type > | CrossfadeMode_DEPRECATED | The type of blending to use in the crossfade. |