Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Animation
Inheritance Hierarchy
- TAttributeContainer
- FHeapAttributeContainer
- FMeshAttributeContainer
- FStackAttributeContainer
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Animation/AttributesContainer.h |
Include | #include "Animation/AttributesContainer.h" |
Syntax
template<class BoneIndexType, typename InAllocator>
struct TAttributeContainer
Remarks
Runtime container for AnimationAttributes, providing a TMap like interface. Used in FStack
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< TArray< FAttributeId > > | AttributeIdentifiers | |
![]() |
TArray< TArray< int32 > > | UniqueTypedBoneIndices | Unique bone indices for all contained entries of a specific attribute type |
![]() |
TArray< TWeakObjectPtr< UScriptStruct > > | UniqueTypes | |
![]() |
TArray< TArray< TWrappedAttribute< InAllocator > > > | Values |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
uint8 * | Add
(
const UScriptStruct* InScriptStruct, |
Adds a new attribute type/value entry for the specified InScriptType. |
![]() |
AttributeType * | Add
(
const FAttributeId& InAttributeId, |
Adds a new attribute type/value entry of the specified underlying AttributeType. |
![]() ![]() |
bool | ContainsData () |
Returns whether or not any this container contains any entries |
![]() |
void | CopyFrom
(
const TAttributeContainer< BoneIndexType, OtherAllocator >& Other |
Copies all contained data from another Container instance using another memory allocator |
![]() |
void | CopyFrom
(
const TAttributeContainer< OtherBoneIndexType, OtherAllocator >& Other, |
|
![]() |
void | CopyFrom
(
const TAttributeContainer< BoneIndexType, InAllocator >& Other |
Copies all contained data from another Container instance using the same memory allocator |
![]() |
void | Empty () |
Cleans out all contained entries and types |
![]() ![]() |
const uint8 * | Find
(
const UScriptStruct* InScriptStruct, |
Tries to find a attribute type/value entry for the specified InScriptType. |
![]() |
uint8 * | Find
(
const UScriptStruct* InScriptStruct, |
Tries to find a attribute type/value entry for the specified InScriptType. |
![]() ![]() |
const AttributeType * | Find
(
const FAttributeId& InAttributeId |
Tries to find a attribute type/value entry of the specified AttributeType. |
![]() |
AttributeType * | Find
(
const FAttributeId& InAttributeId |
Tries to find a attribute type/value entry of the specified AttributeType. |
![]() ![]() |
const AttributeType & | FindChecked
(
const FAttributeId& InAttributeId |
Tries to find a attribute type/value entry of the specified AttributeType. |
![]() |
AttributeType & | FindChecked
(
const FAttributeId& InAttributeId |
Tries to find a attribute type/value entry of the specified AttributeType. |
![]() |
uint8 * | FindOrAdd
(
const UScriptStruct* InScriptStruct, |
Adds, if not yet existing, a new attribute type/value entry for the specified InScriptType. |
![]() |
AttributeType * | FindOrAdd
(
const FAttributeId& InAttributeId |
Adds, if not yet existing, a new attribute type/value entry of the specified AttributeType. |
![]() |
int32 | FindOrAddTypeIndex
(
const UScriptStruct* InScriptStruct |
Find or add a new root-level entry for the provided attribute data type, returning the index into the arrays representing the type |
![]() ![]() |
int32 | FindTypeIndex
(
const UScriptStruct* InScriptStruct |
|
![]() ![]() |
bool | GetAllKeyNames
(
TArray< FName, ArrayAllocator >& OutAttributeKeyNames |
Populate out parameter OutAttributeKeyNames for all contained attribute key names |
![]() ![]() |
const TArray< FAttributeId > & | GetKeys
(
int32 TypeIndex |
|
![]() |
TArray< FAttributeId > & | GetKeysInternal
(
int32 TypeIndex |
|
![]() ![]() |
const TArray< int32 > & | GetUniqueTypedBoneIndices
(
int32 TypeIndex |
|
![]() ![]() |
const TArray< TWeakObjectPtr< UScriptStruct > > & | ||
![]() ![]() |
const TArray< TWrappedAttribute< InAllocator > > & | GetValues
(
int32 TypeIndex |
|
![]() |
TArray< TWrappedAttribute< InAllocator > > & | GetValuesInternal
(
int32 TypeIndex |
|
![]() ![]() |
int32 | IndexOfByKey
(
const UScriptStruct* InScriptStruct, |
Tries to find and return the indedx of a attribute type/value entry of the specified AttributeType. |
![]() ![]() |
int32 | IndexOfByKey
(
const FAttributeId& InAttributeId |
Tries to find and return the indedx of a attribute type/value entry of the specified AttributeType. |
![]() |
void | MoveFrom
(
TAttributeContainer< BoneIndexType, InAllocator >& Other |
Moves all contained data from another Container instance, once moved the other Container instance data is invalid |
![]() ![]() |
int32 | Num () |
|
![]() |
bool | Remove
(
const FAttributeId& InAttributeId |
Removes, if existing, an attribute type/value entry of the specified AttributeType. |
![]() |
bool | Remove
(
const UScriptStruct* InScriptStruct, |
Removes, if existing, an attribute type/value entry for the specified InScriptType. |
![]() |
bool | RemoveAll () |
Removes all, if existing, an attribute type/value entries of the specified AttributeType. |
![]() |
bool | RemoveAll
(
const UScriptStruct* InScriptStruct, |
Removes all, if existing, an attribute type/value entries for the specified InScriptType. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
bool | operator!=
(
const TAttributeContainer< BoneIndexType, InAllocator >& Other |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() |
int32 | AddBoneAttribute
(
const BoneIndexType& BoneIndex, |
Deprecated behaviour, see new API |
![]() |
int32 | AddBoneAttribute
(
const FAttributeId& AttributeInfo, |
Deprecated behaviour, see new API |
![]() ![]() |
bool | ContainsBoneAttribute
(
uint32 BoneAttributeHash, |
Deprecated behaviour, see new API |
![]() ![]() |
const TArray< FAttributeId > & | Deprecated behaviour, see new API | |
![]() ![]() |
bool | GetBoneAttribute
(
const BoneIndexType& BoneIndex, |
Deprecated behaviour, see new API |
![]() ![]() |
const TArray< int32 > & | Deprecated behaviour, see new API | |
![]() |
TArray< DataType > & | Deprecated behaviour, see new API | |
![]() ![]() |
const TArray< DataType, InAllocator > & | Deprecated behaviour, see new API | |
![]() ![]() |
int32 | IndexOfBoneAttribute
(
uint32 BoneAttributeHash, |
Deprecated behaviour, see new API |