Navigation
API > API/Runtime > API/Runtime/MeshDescription
This is a wrapper for an allocated attributes array. It holds a TUniquePtr pointing to the actual attributes array, and performs polymorphic copy and assignment, as per the actual array type.
| Name | FAttributesSetEntry |
| Type | class |
| Header File | /Engine/Source/Runtime/MeshDescription/Public/MeshAttributeArray.h |
| Include Path | #include "MeshAttributeArray.h" |
Syntax
class FAttributesSetEntry
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor. | MeshAttributeArray.h | ||
FAttributesSetEntry
(
const FAttributesSetEntry& Other |
Polymorphic copy: a new copy of Other is created | MeshAttributeArray.h | |
| Default move constructor | MeshAttributeArray.h | ||
FAttributesSetEntry
(
const int32 NumberOfChannels, |
Construct a valid FAttributesSetEntry of the concrete type specified. | MeshAttributeArray.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FAttributesSetEntry() |
Default destructor | MeshAttributeArray.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Ptr | TUniquePtr< FMeshAttributeArraySetBase > | MeshAttributeArray.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CreateArrayOfType
(
const uint32 Type, |
Given a type at runtime, allocate an attribute array of that type, owned by Ptr | MeshAttributeArray.h | |
const FMeshAttributeArraySetBase * Get () |
Transparent access through the TUniquePtr | MeshAttributeArray.h | |
| MeshAttributeArray.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator bool() |
Object can be coerced to bool to indicate if it is valid | MeshAttributeArray.h | |
bool operator!() |
MeshAttributeArray.h | ||
const FMeshAttributeArraySetBase & operator* () |
MeshAttributeArray.h | ||
| MeshAttributeArray.h | |||
FAttributesSetEntry & operator=
(
const FAttributesSetEntry& Other |
Polymorphic assignment | MeshAttributeArray.h | |
| Default move assignment | MeshAttributeArray.h | ||
const FMeshAttributeArraySetBase * operator-> () |
MeshAttributeArray.h | ||
| MeshAttributeArray.h |