TAttributesSet::GetAttributesRef

Get an attribute array with the given type and name.

Windows
MacOS
Linux

References

Module

MeshDescription

Header

/Engine/Source/Runtime/MeshDescription/Public/MeshAttributeArray.h

Include

#include "MeshAttributeArray.h"

Syntax

template<typename AttributeType>
TMeshAttributesConstRef< ElementIDType, AttributeType > 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.

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss