Navigation
API > API/Plugins > API/Plugins/AnimNext > API/Plugins/AnimNext/TraitInterfaces
Inheritance Hierarchy
- ITraitInterface
- IGarbageCollection
References
| Module | AnimNext |
| Header | /Engine/Plugins/Experimental/AnimNext/Source/AnimNext/Public/TraitInterfaces/IGarbageCollection.h |
| Include | #include "TraitInterfaces/IGarbageCollection.h" |
Syntax
struct IGarbageCollection : public UE::AnimNext::ITraitInterface
Remarks
This interface exposes garbage collection reference tracking.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
const FExecutionContext& Context, |
Called when garbage collection requests hard/strong object references | |
| void | RegisterWithGC
(
const FExecutionContext& Context, |
Registers the provided binding for GC callback Once registered, AddReferencedObjects is called during GC to collect references | |
| void | UnregisterWithGC
(
const FExecutionContext& Context, |
Unregisters the provided binding from GC callback. |
Overridden from ITraitInterface
| Type | Name | Description | |
|---|---|---|---|
| const FText & | Human readable interface names, in long and short format. | ||
| const FText & | Human readable interface names, in short format (ideally 3 or 4 letters, due to space restrictions in the editor) | ||
| UE::AnimNext::FTraitInterfaceUID | |||
| bool | IsInternal () |
Internal interfaces are only displayed in the Traits Editor in the Advanced View. |
Constants
| Name | Description |
|---|---|
| InterfaceUID | Globally unique UID for this interface |