Module |
|
Header |
/Engine/Source/Runtime/MeshDescription/Public/MeshAttributeArray.h |
Include |
#include "MeshAttributeArray.h" |
template<typename AttributeType>
void RegisterAttribute
(
const FName AttributeName,
const int32 NumberOfIndices,
const AttributeType & Default,
const EMeshAttributeFlags Flags
)
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 indices and flags.
Example of use: VertexInstanceAttributes().RegisterAttribute
. . .
TVertexInstanceAttributeArray