Navigation
API > API/Plugins > API/Plugins/UAF
| Name | FAttributeTypedSet |
| Type | class |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/UAF/Attributes/AttributeTypedSet.h |
| Include Path | #include "UAF/Attributes/AttributeTypedSet.h" |
Syntax
class FAttributeTypedSet
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAttributeTypedSet
(
const FAttributeTypedSet& |
UAF/Attributes/AttributeTypedSet.h | ||
| UAF/Attributes/AttributeTypedSet.h | |||
| UAF/Attributes/AttributeTypedSet.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AttributeKeys | TArray< FAttributeSetKey > | List of attributes (sorted by key) | UAF/Attributes/AttributeTypedSet.h | |
| AttributeNames | TArray< FName > | List of attribute names (sorted by key) | UAF/Attributes/AttributeTypedSet.h | |
| AttributeNameToIndexMap | TArray< TTuple< FName, uint16 > > | Sorted list of attribute names, maps a name to its attribute index. | UAF/Attributes/AttributeTypedSet.h | |
| BindingIndexToSetIndexMap | TArray< uint16 > | Maps each attribute binding index to an attribute set index. | UAF/Attributes/AttributeTypedSet.h | |
| BindingIndices | TArray< uint16 > | List of attribute binding indices (sorted by key) | UAF/Attributes/AttributeTypedSet.h | |
| FAttributeBindingData | friend | UAF/Attributes/AttributeTypedSet.h | ||
| NamedSet | FAttributeNamedSet * | The named set that contains us. | UAF/Attributes/AttributeTypedSet.h | |
| Owner | FAttributeBindingData * | The outer container that owns our memory. | UAF/Attributes/AttributeTypedSet.h | |
| ParentAttributeIndices | TArray< uint16 > | List of parent attribute set indices (sorted by key) | UAF/Attributes/AttributeTypedSet.h | |
| Type | UScriptStruct * | The type that attributes in this set have. | UAF/Attributes/AttributeTypedSet.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddRef() |
Reference counting API. | UAF/Attributes/AttributeTypedSet.h | |
FAttributeTypedSetPtr AtLOD
(
int32 LOD |
Returns the typed set of the same type at the specified LOD, O(1) Returns null if the LOD specified is invalid | UAF/Attributes/AttributeTypedSet.h | |
FAttributeBindingIndex FindBindingIndex
(
FName AttributeName |
Searches for an attribute binding index using an attribute name, O(N) Returns an invalid index if the attribute isn't found within the binding | UAF/Attributes/AttributeTypedSet.h | |
FAttributeSetIndex FindIndex
(
FAttributeSetKey AttributeKey |
Searches for an attribute set index using an attribute set key, O(logN) Returns an invalid index if the attribute isn't found within the set | UAF/Attributes/AttributeTypedSet.h | |
FAttributeSetIndex FindIndex
(
FName AttributeName |
Searches for an attribute set index using an attribute name, O(logN) Returns an invalid index if the attribute isn't found within the set | UAF/Attributes/AttributeTypedSet.h | |
FAttributeSetKey FindKey
(
FName AttributeName |
Searches for an attribute set key using an attribute name, O(logN) Returns an invalid key if the attribute isn't found within the set | UAF/Attributes/AttributeTypedSet.h | |
FName FindName
(
FAttributeSetKey AttributeKey |
Searches for an attribute name using an attribute set key, O(logN) Returns None if the attribute isn't found within the set | UAF/Attributes/AttributeTypedSet.h | |
FAttributeBindingDataPtr GetBindingData() |
Returns the owning binding data this typed set is part of. | UAF/Attributes/AttributeTypedSet.h | |
FAttributeBindingIndex GetBindingIndex
(
FAttributeSetIndex AttributeIndex |
Retrieve an attribute binding index using an attribute set index, O(1) Returns an invalid index if the attribute set index is invalid | UAF/Attributes/AttributeTypedSet.h | |
FAttributeSetIndex GetIndex
(
FAttributeBindingIndex BindingIndex |
Retrieve an attribute set index using an attribute binding index, O(1) Returns an invalid index if the attribute isn't found within the set | UAF/Attributes/AttributeTypedSet.h | |
FAttributeSetKey GetKey
(
FAttributeSetIndex AttributeIndex |
Retrieves the set key of the specified attribute, O(1) Returns an invalid set key if the attribute set index is invalid | UAF/Attributes/AttributeTypedSet.h | |
int32 GetLOD() |
Returns the LOD of this set, O(1) | UAF/Attributes/AttributeTypedSet.h | |
FName GetName
(
FAttributeSetIndex AttributeIndex |
Retrieve the name of the specified attribute, O(1) Returns None if the attribute set index is invalid | UAF/Attributes/AttributeTypedSet.h | |
FAttributeNamedSetPtr GetNamedSet() |
Returns the named set this typed set is part of. | UAF/Attributes/AttributeTypedSet.h | |
FAttributeSetIndex GetParentIndex
(
FAttributeSetIndex AttributeIndex |
Retrieves the parent attribute index of the specified attribute, O(1) Returns an invalid index if the child attribute index is invalid or the parent isn't within this set | UAF/Attributes/AttributeTypedSet.h | |
uint32 GetRefCount() |
UAF/Attributes/AttributeTypedSet.h | ||
UScriptStruct * GetType() |
Returns the type of attributes held in this set, O(1) | UAF/Attributes/AttributeTypedSet.h | |
bool IsEmpty() |
Returns whether or not this set is empty, O(1) | UAF/Attributes/AttributeTypedSet.h | |
int32 Num() |
Returns the number of attributes in this set, O(1) | UAF/Attributes/AttributeTypedSet.h | |
int32 NumLODs() |
Returns the number of distinct LODs in this set, O(1) | UAF/Attributes/AttributeTypedSet.h | |
uint32 Release() |
UAF/Attributes/AttributeTypedSet.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAttributeTypedSet & operator=
(
const FAttributeTypedSet& |
UAF/Attributes/AttributeTypedSet.h | ||
| UAF/Attributes/AttributeTypedSet.h |