Navigation
API > API/Plugins > API/Plugins/UAFAnimGraph
FGraphInstanceComponent
A graph instance component is attached and owned by a graph instance. It persists as long as it is needed.
| Name | FUAFGraphInstanceComponent |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimGraph/Source/UAFAnimGraph/Public/Graph/UAFGraphInstanceComponent.h |
| Include Path | #include "Graph/UAFGraphInstanceComponent.h" |
Syntax
USTRUCT ()
struct FUAFGraphInstanceComponent : public FUAFAssetInstanceComponent
Inheritance Hierarchy
- FUAFAssetInstanceComponent → FUAFGraphInstanceComponent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUAFGraphInstanceComponent() |
Graph/UAFGraphInstanceComponent.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FUAFGraphInstanceComponent() |
Graph/UAFGraphInstanceComponent.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ContainerType | FAnimNextGraphInstance | Graph/UAFGraphInstanceComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Returns the owning graph instance this component lives on. | Graph/UAFGraphInstanceComponent.h | ||
const FAnimNextGraphInstance & GetGraphInstance () |
Returns the owning graph instance this component lives on. | Graph/UAFGraphInstanceComponent.h | |
virtual void OnTraitEvent
(
UE::UAF::FExecutionContext& Context, |
Called before PreUpdate with input events and before PostUpdate with output events. | Graph/UAFGraphInstanceComponent.h | |
virtual void PostUpdate
(
UE::UAF::FExecutionContext& Context |
Called after the update traversal completes, after every node has been visited The execution context provided is bound to the graph root and can be bound to anything the component wishes | Graph/UAFGraphInstanceComponent.h | |
virtual void PreUpdate
(
UE::UAF::FExecutionContext& Context |
Called before the update traversal begins, before any node has been visited Note that PreUpdate won't be called if a component is created during the update traversal until the next update The execution context provided is bound to the graph root and can be bound to anything the component wishes | Graph/UAFGraphInstanceComponent.h |