UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TMeshAttributesRefTypeBase< T > Struct Template Reference

#include <MeshAttributeArray.h>

+ Inheritance diagram for TMeshAttributesRefTypeBase< T >:

Public Types

using AttributeType = T
 
using RealAttributeType = std::conditional_t< TIsDerivedFrom< AttributeType, FElementID >::Value, int32, AttributeType >
 

Detailed Description

template<typename T>
struct TMeshAttributesRefTypeBase< T >

Define type traits for different kinds of mesh attributes.

There are three type of attributes:

  • simple values (T)
  • fixed size arrays of values (TArrayView<T>)
  • variable size arrays of values (TArrayAttribute<T>)

Each of these corresponds to a different type of TMeshAttributesRef and TMeshAttributeArraySet.

Member Typedef Documentation

◆ AttributeType

template<typename T >
using TMeshAttributesRefTypeBase< T >::AttributeType = T

◆ RealAttributeType

template<typename T >
using TMeshAttributesRefTypeBase< T >::RealAttributeType = std::conditional_t<TIsDerivedFrom<AttributeType, FElementID>::Value, int32, AttributeType>

The documentation for this struct was generated from the following file: