Navigation
API > API/Plugins > API/Plugins/UAFAnimNode
Collects anim nodes that need exposure to GC.
| Name | FUAFAnimNodeReferenceCollector |
| Type | class |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimNode/Source/UAFAnimNode/Public/UAF/AnimNodeCore/UAFAnimNodeReferenceCollector.h |
| Include Path | #include "UAF/AnimNodeCore/UAFAnimNodeReferenceCollector.h" |
Syntax
class FUAFAnimNodeReferenceCollector : public FGCObject
Inheritance Hierarchy
- FGCObject → FUAFAnimNodeReferenceCollector
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUAFAnimNodeReferenceCollector() |
UAF/AnimNodeCore/UAFAnimNodeReferenceCollector.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FUAFAnimNodeReferenceCollector() |
UAF/AnimNodeCore/UAFAnimNodeReferenceCollector.h |
Structs
| Name | Remarks |
|---|---|
| FEntry |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AddReferencedObjectsFn | void(*)(FUAFAnimNode *, FReferenceCollector &) | We use the same pattern as UObject::AddReferencedObjects and cache a function pointer to the function that will add the references. | UAF/AnimNodeCore/UAFAnimNodeReferenceCollector.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AnimNodes | TArray< FEntry > | List of anim nodes that contain UObject references. | UAF/AnimNodeCore/UAFAnimNodeReferenceCollector.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void RegisterWithGC
(
FUAFAnimNode* AnimNode, |
Registers the provided anim node with the GC system Once registered, TUAFAnimNode |
UAF/AnimNodeCore/UAFAnimNodeReferenceCollector.h | |
void UnregisterWithGC
(
FUAFAnimNode* AnimNode |
Unregisters the provided anim node from the GC system. | UAF/AnimNodeCore/UAFAnimNodeReferenceCollector.h |
Public Virtual
Overridden from FGCObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
FGCObject implementation. | UAF/AnimNodeCore/UAFAnimNodeReferenceCollector.h | |
virtual FString GetReferencerName() |
UAF/AnimNodeCore/UAFAnimNodeReferenceCollector.h |