Navigation
API > API/Plugins > API/Plugins/AnimNextAnimGraph
A graph instance component is attached and owned by a graph instance. It persists as long as it is needed.
| Name | FGraphInstanceComponent |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/AnimNextAnimGraph/Source/AnimNextAnimGraph/Public/Graph/GraphInstanceComponent.h |
| Include Path | #include "Graph/GraphInstanceComponent.h" |
Syntax
struct FGraphInstanceComponent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGraphInstanceComponent
(
FAnimNextGraphInstance& InOwnerInstance |
Graph/GraphInstanceComponent.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FGraphInstanceComponent() |
Graph/GraphInstanceComponent.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OwnerInstance | FAnimNextGraphInstance & | The owning graph instance this component lives on. | Graph/GraphInstanceComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FName GetComponentName() |
Graph/GraphInstanceComponent.h | ||
| Returns the owning graph instance this component lives on. | Graph/GraphInstanceComponent.h | ||
const FAnimNextGraphInstance & GetGraphInstance () |
Returns the owning graph instance this component lives on. | Graph/GraphInstanceComponent.h | |
virtual void OnTraitEvent
(
FExecutionContext& Context, |
Called before PreUpdate with input events and before PostUpdate with output events. | Graph/GraphInstanceComponent.h | |
virtual void PostUpdate
(
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/GraphInstanceComponent.h | |
virtual void PreUpdate
(
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/GraphInstanceComponent.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName StaticComponentName() |
Graph/GraphInstanceComponent.h |