Navigation
API > API/Runtime > API/Runtime/MeshDescription > API/Runtime/MeshDescription/TAttributesSet > API/Runtime/MeshDescription/TAttributesSet/GetAttributesRef
References
Module | MeshDescription |
Header | /Engine/Source/Runtime/MeshDescription/Public/MeshAttributeArray.h |
Include | #include "MeshAttributeArray.h" |
template<typename T>
TMeshAttributesConstRef < ElementIDType, typename TMeshAttributesRefType < T >::ConstRefType > GetAttributesRef
(
const FName AttributeName
) const
Remarks
Get an attribute array with the given type and name. The attribute type must correspond to the type passed as the template parameter.
Example of use: TVertexAttributesConstRef
Note that the returned object is a value type which should be assigned and passed by value, not reference. It is valid for as long as this TAttributesSet object exists.