Navigation
API > API/Runtime > API/Runtime/MeshDescription > API/Runtime/MeshDescription/FAttributesSetBase
References
Module | MeshDescription |
Header | /Engine/Source/Runtime/MeshDescription/Public/MeshAttributeArray.h |
Include | #include "MeshAttributeArray.h" |
template<typename T>
TMeshAttributesArray< typename TMeshAttributesRegisterType< T >::RefType > RegisterAttributeInternal
&40;
const FName AttributeName,
const int32 NumberOfChannels,
const typename TMeshAttributesRegisterType< T >::RealAttributeType & Default,
const EMeshAttributeFlags Flags
&41;
Remarks
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