Navigation
API > API/Plugins > API/Plugins/UAF
The key by which to sort out attributes within a set We want attributes with a higher LOD value to come first (e.g. LOD 0 before LOD 1) to allow us to truncate the attribute array for a specific LOD We want parent attributes to come before their children to facilitate space conversion It has the following format:
- Bits [0, 15]: Attribute binding index (1-based) (16 bits)
- Bits [16, 31]: Parent attribute binding index (1-based, 0 if we have no parent) (16 bits)
- Bits [32, 39]: LOD (8 bits) This allows us to sort smaller values first This means that set keys are consistent within a binding and can be used by multiple named/typed sets within and compared accordingly. However, they cannot be used across binding assets.
| Name | FAttributeSetKey |
| Type | class |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/UAF/Attributes/AttributeSetKey.h |
| Include Path | #include "UAF/Attributes/AttributeSetKey.h" |
Syntax
class FAttributeSetKey
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
constexpr FAttributeSetKey () |
UAF/Attributes/AttributeSetKey.h | ||
constexpr FAttributeSetKey
(
const FAttributeSetKey& Other |
UAF/Attributes/AttributeSetKey.h | ||
constexpr FAttributeSetKey
(
FAttributeSetKey&& Other |
UAF/Attributes/AttributeSetKey.h | ||
FAttributeSetKey
(
FAttributeBindingIndex BindingIndex, |
UAF/Attributes/AttributeSetKey.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| kIndexMask | uint64 | UAF/Attributes/AttributeSetKey.h | |
| kLODMask | uint64 | UAF/Attributes/AttributeSetKey.h | |
| kLODShift | uint64 | UAF/Attributes/AttributeSetKey.h | |
| kParentIndexShift | uint64 | UAF/Attributes/AttributeSetKey.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Value | uint64 | UAF/Attributes/AttributeSetKey.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAttributeBindingIndex GetBindingIndex() |
UAF/Attributes/AttributeSetKey.h | ||
int32 GetLOD() |
UAF/Attributes/AttributeSetKey.h | ||
FAttributeBindingIndex GetParentBindingIndex() |
UAF/Attributes/AttributeSetKey.h | ||
bool IsValid() |
UAF/Attributes/AttributeSetKey.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator bool() |
UAF/Attributes/AttributeSetKey.h | ||
bool operator!=
(
FAttributeSetKey Rhs |
UAF/Attributes/AttributeSetKey.h | ||
FAttributeSetKey & operator=
(
const FAttributeSetKey& Rhs |
UAF/Attributes/AttributeSetKey.h | ||
FAttributeSetKey & operator=
(
FAttributeSetKey&& Rhs |
UAF/Attributes/AttributeSetKey.h | ||
bool operator==
(
FAttributeSetKey Rhs |
Relational operators. | UAF/Attributes/AttributeSetKey.h | |
bool operator>
(
FAttributeSetKey Rhs |
UAF/Attributes/AttributeSetKey.h | ||
bool operator>=
(
FAttributeSetKey Rhs |
UAF/Attributes/AttributeSetKey.h |