Navigation
API > API/Runtime > API/Runtime/MeshDescription > API/Runtime/MeshDescription/FAttributesSetBase
Description
Register a new attribute name with the given type (must be a member of the AttributeTypes tuple). If the attribute name is already registered, it will update it to use the new type, number of channels and flags.
Example of use: VertexInstanceAttributes().RegisterAttribute
| Name | RegisterAttributeInternal |
| Type | function |
| Header File | /Engine/Source/Runtime/MeshDescription/Public/MeshAttributeArray.h |
| Include Path | #include "MeshAttributeArray.h" |
template<typename T>
TMeshAttributesArray< typename TMeshAttributesRegisterType < T >::RefType > RegisterAttributeInternal
(
const FName AttributeName,
const int32 NumberOfChannels,
const typename TMeshAttributesRegisterType < T >::RealAttributeType & Default,
const EMeshAttributeFlags Flags
)