Navigation
API > API/Runtime > API/Runtime/MeshDescription
References
| Module | MeshDescription |
| Header | /Engine/Source/Runtime/MeshDescription/Public/MeshAttributeArray.h |
| Include | #include "MeshAttributeArray.h" |
Syntax
class FAttributesSetEntry
Remarks
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.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor. | |||
FAttributesSetEntry
(
const FAttributesSetEntry& Other |
Polymorphic copy: a new copy of Other is created | ||
| Default move constructor | |||
FAttributesSetEntry
(
const int32 NumberOfChannels, |
Construct a valid FAttributesSetEntry of the concrete type specified. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Default destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CreateArrayOfType
(
const uint32 Type, |
Given a type at runtime, allocate an attribute array of that type, owned by Ptr | |
| const FMeshAttributeArraySetBase * | Get () |
Transparent access through the TUniquePtr | |
| FMeshAttributeArraySetBase * | Get () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| Object can be coerced to bool to indicate if it is valid | |||
| bool | operator! () |
||
| const FMeshAttributeArraySetBase & | operator* () |
||
| FMeshAttributeArraySetBase & | operator* () |
||
| FAttributesSetEntry & | operator=
(
const FAttributesSetEntry& Other |
Polymorphic assignment | |
| FAttributesSetEntry & | operator=
(
FAttributesSetEntry&& |
Default move assignment | |
| const FMeshAttributeArraySetBase * | operator-> () |
||
| FMeshAttributeArraySetBase * | operator-> () |