![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MeshAttributeArray.h>
Inheritance diagram for FMeshAttributeArraySetBase:Protected Attributes | |
| uint32 | Type |
| uint32 | Extent |
| int32 | NumElements |
| EMeshAttributeFlags | Flags |
This is the base class for an attribute array set. An attribute array set is a container which holds attribute arrays, one per attribute index. Many attributes have only one index, while others (such as texture coordinates) may want to define many.
All attribute array set instances will be of derived types; this type exists for polymorphism purposes, so that they can be managed by a generic TUniquePtr<FMeshAttributeArraySetBase>.
In general, we avoid accessing them via virtual dispatch by insisting that their type be passed as a template parameter in the accessor. This can be checked against the Type field to ensure that we are accessing an instance by its correct type.
|
inline |
Constructor
|
virtualdefault |
Virtual interface
|
pure virtual |
Implemented in TMeshAttributeArraySet< AttributeType >, and TMeshUnboundedAttributeArraySet< AttributeType >.
|
inline |
Get the type extent of this attribute array set
|
inline |
Get the flags for this attribute array set
Implemented in TMeshAttributeArraySet< AttributeType >, and TMeshUnboundedAttributeArraySet< AttributeType >.
Implemented in TMeshAttributeArraySet< AttributeType >, and TMeshUnboundedAttributeArraySet< AttributeType >.
|
inline |
Return number of elements each attribute index has
Implemented in TMeshAttributeArraySet< AttributeType >, and TMeshUnboundedAttributeArraySet< AttributeType >.
|
inline |
Get the type index of this attribute array set
Determine whether this attribute array set is of the given type
Implemented in TMeshAttributeArraySet< AttributeType >, and TMeshUnboundedAttributeArraySet< AttributeType >.
Implemented in TMeshAttributeArraySet< AttributeType >, and TMeshUnboundedAttributeArraySet< AttributeType >.
Implemented in TMeshAttributeArraySet< AttributeType >, and TMeshUnboundedAttributeArraySet< AttributeType >.
Implemented in TMeshAttributeArraySet< AttributeType >, and TMeshUnboundedAttributeArraySet< AttributeType >.
|
pure virtual |
Implemented in TMeshAttributeArraySet< AttributeType >, and TMeshUnboundedAttributeArraySet< AttributeType >.
Implemented in TMeshAttributeArraySet< AttributeType >, and TMeshUnboundedAttributeArraySet< AttributeType >.
Implemented in TMeshAttributeArraySet< AttributeType >, and TMeshUnboundedAttributeArraySet< AttributeType >.
Implemented in TMeshAttributeArraySet< AttributeType >, and TMeshUnboundedAttributeArraySet< AttributeType >.
Implemented in TMeshAttributeArraySet< AttributeType >, and TMeshUnboundedAttributeArraySet< AttributeType >.
|
inline |
Set the flags for this attribute array set
Implemented in TMeshAttributeArraySet< AttributeType >, and TMeshUnboundedAttributeArraySet< AttributeType >.
Implemented in TMeshAttributeArraySet< AttributeType >, and TMeshUnboundedAttributeArraySet< AttributeType >.
Implemented in TMeshAttributeArraySet< AttributeType >, and TMeshUnboundedAttributeArraySet< AttributeType >.
|
protected |
Extent of the type, i.e. the number of array elements it consists of
|
protected |
Implementation-defined attribute name flags
|
protected |
Number of elements in each index
|
protected |
Type of the attribute array (based on the tuple element index from AttributeTypes)