Navigation
API > API/Plugins > API/Plugins/UAFAnimGraph
Base class for all trait bindings. A trait binding contains untyped data about a specific trait instance.
| Name | FTraitBinding |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimGraph/Source/UAFAnimGraph/Public/TraitCore/TraitBinding.h |
| Include Path | #include "TraitCore/TraitBinding.h" |
Syntax
struct FTraitBinding
Derived Classes
FTraitBinding derived class hierarchy
- TTraitBinding< IAlphaInputArgs >
- TTraitBinding< IAttributeProvider >
- TTraitBinding< IBlendStack >
- TTraitBinding< IContinuousBlend >
- TTraitBinding< IDiscreteBlend >
- TTraitBinding< IEvaluate >
- TTraitBinding< IGarbageCollection >
- TTraitBinding< IGraphFactory >
- TTraitBinding< IGroupSynchronization >
- TTraitBinding< IHierarchy >
- TTraitBinding< IInertializerBlend >
- TTraitBinding< INotifySource >
- TTraitBinding< IScopedTagInterface >
- TTraitBinding< ISmoothBlend >
- TTraitBinding< ISmoothBlendPerBone >
- TTraitBinding< ITimeline >
- TTraitBinding< ITimelinePlayer >
- TTraitBinding< IUpdate >
- TTraitBinding< IUpdateTraversal >
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Creates an empty/invalid binding. | TraitCore/TraitBinding.h | ||
FTraitBinding
(
const FTraitStackBinding* InStack, |
TraitCore/TraitBinding.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AsInterface
(
TTraitBinding< TraitInterface >& OutBinding |
If no such interface is found, false it returned. | TraitCore/TraitBinding.h | |
InstanceDataType * GetInstanceData () |
Queries a node for a pointer to its trait instance data. | TraitCore/TraitBinding.h | |
FTraitInterfaceUID GetInterfaceUID() |
Returns the trait interface UID when bound, an invalid UID otherwise. | TraitCore/TraitBinding.h | |
const PropertyType * GetLatentProperty
(
FLatentPropertyHandle Handle |
Returns a pointer to the latent property specified by the provided handle or nullptr if the binding/handle are invalid. | TraitCore/TraitBinding.h | |
const FLatentPropertyHandle * GetLatentPropertyHandles () |
Queries a node for a pointer to its trait latent properties. | TraitCore/TraitBinding.h | |
const SharedDataType * GetSharedData () |
Queries a node for a pointer to its trait shared data. | TraitCore/TraitBinding.h | |
const FTraitStackBinding * GetStack() |
Returns the trait stack binding backing this trait binding. | TraitCore/TraitBinding.h | |
bool GetStackBaseTrait
(
FTraitBinding& OutBinding |
Returns a trait binding to the base of the stack. Returns true on success, false otherwise. | TraitCore/TraitBinding.h | |
bool GetStackInterface
(
TTraitBinding< TraitInterface >& OutBinding |
If no such trait exists, false is returned. | TraitCore/TraitBinding.h | |
bool GetStackInterfaceSuper
(
TTraitBinding< TraitInterface >& OutSuperBinding |
If no such trait exists, false is returned. | TraitCore/TraitBinding.h | |
const FTrait * GetTrait() |
Returns a pointer to the trait implementation if valid and if the trait is present at runtime. | TraitCore/TraitBinding.h | |
uint32 GetTraitIndex() |
Returns the trait index on the stack we are bound to. | TraitCore/TraitBinding.h | |
FWeakTraitPtr GetTraitPtr() |
Returns the trait pointer we are bound to. | TraitCore/TraitBinding.h | |
bool HasInterface() |
If no such interface is found, false it returned. | TraitCore/TraitBinding.h | |
bool HasStackInterface() |
If no such trait exists, false is returned. | TraitCore/TraitBinding.h | |
bool HasStackInterfaceSuper() |
If no such trait exists, false is returned. | TraitCore/TraitBinding.h | |
bool IsValid() |
Returns whether or not this binding is valid. | TraitCore/TraitBinding.h | |
void Reset() |
Resets the trait binding to an invalid state. | TraitCore/TraitBinding.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AsInterfaceImpl
(
FTraitInterfaceUID InterfaceUID, |
TraitCore/TraitBinding.h | ||
const TraitInterfaceType * GetInterfaceTyped() |
Performs a naked cast to the desired interface type. | TraitCore/TraitBinding.h | |
bool HasInterfaceImpl
(
FTraitInterfaceUID InterfaceUID |
TraitCore/TraitBinding.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FTraitBinding& RHS |
TraitCore/TraitBinding.h | ||
bool operator==
(
const FTraitBinding& RHS |
Equality and inequality tests. | TraitCore/TraitBinding.h |