Navigation
API > API/Plugins > API/Plugins/StateTreeModule
Runtime storage and execution of property bindings.
| Name | FStateTreePropertyBindings |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreePropertyBindings.h |
| Include Path | #include "StateTreePropertyBindings.h" |
Syntax
USTRUCT ()
struct FStateTreePropertyBindings : public FPropertyBindingBindingCollection
Inheritance Hierarchy
- FPropertyBindingBindingCollection → FStateTreePropertyBindings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStateTreePropertyBindings() |
StateTreePropertyBindings.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FStateTreePropertyBindingCompiler | friend | StateTreePropertyBindings.h | ||
| PropertyAccesses | TArray< FStateTreePropertyAccess > | Array of individually accessed properties | StateTreePropertyBindings.h | |
| PropertyPathBindings | TArray< FStateTreePropertyPathBinding > | Array of property bindings, resolved into arrays of copies before use. | StateTreePropertyBindings.h | |
| PropertyReferencePaths | TArray< FStateTreePropertyRefPath > | Array of referenced property paths | StateTreePropertyBindings.h | |
| SourceStructs | TArray< FStateTreeBindableStructDesc > | Array of expected source structs. | StateTreePropertyBindings.h | |
| UStateTree | friend | StateTreePropertyBindings.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CopyProperty
(
const FStateTreePropertyCopy& Copy, |
Copies a property from Source to Target based on the provided Copy. | StateTreePropertyBindings.h | |
const FStateTreePropertyCopyBatch & GetBatch
(
const FStateTreeIndex16 TargetBatchIndex |
StateTreePropertyBindings.h | ||
TConstArrayView< FStateTreePropertyCopy > GetBatchCopies
(
const FStateTreeIndex16 TargetBatchIndex |
StateTreePropertyBindings.h | ||
TConstArrayView< FStateTreePropertyCopy > GetBatchCopies
(
const FStateTreePropertyCopyBatch& Batch |
StateTreePropertyBindings.h | ||
T * GetMutablePropertyPtr
(
FStateTreeDataView SourceView, |
Pointer to referenced property | StateTreePropertyBindings.h | |
const FStateTreePropertyAccess * GetPropertyAccess
(
const FStateTreePropertyRef& Reference |
StateTreePropertyBindings.h | ||
PRAGMA_DISABLE_DEPRECATION_WARNINGSint32 GetSourceStructNum() |
StateTreePropertyBindings.h |
Overridden from FPropertyBindingBindingCollection
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FPropertyBindingBindableStructDescriptor * GetBindableStructDescriptorFromHandle
(
FConstStructView InSourceHandleView |
StateTreePropertyBindings.h | ||
virtual int32 GetNumBindableStructDescriptors() |
StateTreePropertyBindings.h | ||
virtual void OnReset() |
Clears all bindings. | StateTreePropertyBindings.h | |
virtual bool ResolveBindingCopyInfo
(
const FPropertyBindingBinding& InResolvedBinding, |
StateTreePropertyBindings.h | ||
virtual void VisitSourceStructDescriptorInternal
(
TFunctionRef< EVisitResult(const FPropertyBindingBindableStructDescriptor&Descriptor)> InFunction |
StateTreePropertyBindings.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ForEachBinding
(
const FPropertyBindingIndex16 InBegin, |
StateTreePropertyBindings.h | ||
const FPropertyBindingBindableStructDescriptor * GetBindableStructDescriptorFromHandle
(
FStateTreeDataHandle InSourceHandle |
StateTreePropertyBindings.h | ||
PRAGMA_DISABLE_DEPRECATION_WARNINGSbool ResetObjects
(
const FStateTreeIndex16 TargetBatchIndex, |
StateTreePropertyBindings.h |
Overridden from FPropertyBindingBindingCollection
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPropertyBindingBinding * AddBindingInternal
(
const FPropertyBindingPath& InSourcePath, |
StateTreePropertyBindings.h | ||
virtual const FPropertyBindingBinding * FindBindingInternal
(
TFunctionRef< bool(const FPropertyBindingBinding&)> InPredicate |
StateTreePropertyBindings.h | ||
virtual void ForEachBinding
(
TFunctionRef< void(const FPropertyBindingBinding&Binding)> InFunction |
StateTreePropertyBindings.h | ||
virtual void ForEachMutableBinding
(
TFunctionRef< void(FPropertyBindingBinding&Binding)> InFunction |
StateTreePropertyBindings.h | ||
virtual int32 GetNumBindings() |
StateTreePropertyBindings.h | ||
virtual bool HasBindingInternal
(
TFunctionRef< bool(const FPropertyBindingBinding&)> InPredicate |
StateTreePropertyBindings.h | ||
virtual bool OnResolvingPaths() |
StateTreePropertyBindings.h | ||
virtual void RemoveBindingsInternal
(
TFunctionRef< bool(FPropertyBindingBinding&)> InPredicate |
StateTreePropertyBindings.h | ||
virtual void VisitBindings
(
TFunctionRef< EVisitResult(const FPropertyBindingBinding&Binding)> InFunction |
StateTreePropertyBindings.h | ||
virtual void VisitMutableBindings
(
TFunctionRef< EVisitResult(FPropertyBindingBinding&Binding)> InFunction |
StateTreePropertyBindings.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| StateTreePropertyBindings.h | |||
static bool ResolveCopyType
(
const FPropertyBindingPathIndirection& SourceIndirection, |
Resolves what kind of copy type to use between specified property indirections. | StateTreePropertyBindings.h | |
static bool ResolveCopyType
(
const FStateTreePropertyPathIndirection& SourceIndirection, |
StateTreePropertyBindings.h |