Navigation
API > API/Runtime > API/Runtime/MeshDescription > API/Runtime/MeshDescription/TAttributesSet
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TMeshAttributesConstRef< ElementIDType, typename TMeshAttributesRefType< T >::ConstRefType > GetAttributesRef
(
const FName AttributeName |
Get an attribute array with the given type and name. | MeshAttributeArray.h | |
TMeshAttributesRef< ElementIDType, typename TMeshAttributesRefType< T >::RefType > GetAttributesRef
(
const FName AttributeName |
Non-const version. | MeshAttributeArray.h |
GetAttributesRef(const FName)
Description
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.
| Name | GetAttributesRef |
| Type | function |
| Header File | /Engine/Source/Runtime/MeshDescription/Public/MeshAttributeArray.h |
| Include Path | #include "MeshAttributeArray.h" |
template<typename T>
TMeshAttributesConstRef< ElementIDType, typename TMeshAttributesRefType < T >::ConstRefType > GetAttributesRef
(
const FName AttributeName
) const
GetAttributesRef(const FName)
Description
Non-const version.
| Name | GetAttributesRef |
| Type | function |
| Header File | /Engine/Source/Runtime/MeshDescription/Public/MeshAttributeArray.h |
| Include Path | #include "MeshAttributeArray.h" |
template<typename T>
TMeshAttributesRef < ElementIDType, typename TMeshAttributesRefType < T >::RefType > GetAttributesRef
(
const FName AttributeName
)