UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FAttributesSetEntry Class Reference

#include <MeshAttributeArray.h>

Public Member Functions

 FAttributesSetEntry ()=default
 
template<typename AttributeType >
 FAttributesSetEntry (const int32 NumberOfChannels, const AttributeType &Default, const EMeshAttributeFlags Flags, const int32 NumElements, const int32 Extent)
 
 ~FAttributesSetEntry ()=default
 
 FAttributesSetEntry (const FAttributesSetEntry &Other)
 
 FAttributesSetEntry (FAttributesSetEntry &&)=default
 
FAttributesSetEntryoperator= (const FAttributesSetEntry &Other)
 
FAttributesSetEntryoperator= (FAttributesSetEntry &&)=default
 
const FMeshAttributeArraySetBaseGet () const
 
const FMeshAttributeArraySetBaseoperator-> () const
 
const FMeshAttributeArraySetBaseoperator* () const
 
FMeshAttributeArraySetBaseGet ()
 
FMeshAttributeArraySetBaseoperator-> ()
 
FMeshAttributeArraySetBaseoperator* ()
 
 operator bool () const
 
bool operator! () const
 
void CreateArrayOfType (const uint32 Type, const uint32 Extent)
 

Friends

FArchiveoperator<< (FArchive &Ar, FAttributesSetEntry &Entry)
 

Detailed Description

This is a wrapper for an allocated attributes array. It holds a TUniquePtr pointing to the actual attributes array, and performs polymorphic copy and assignment, as per the actual array type.

Constructor & Destructor Documentation

◆ FAttributesSetEntry() [1/4]

FAttributesSetEntry::FAttributesSetEntry ( )
default

Default constructor. This breaks the invariant that Ptr be always valid, but is necessary so that it can be the value type of a TMap.

◆ FAttributesSetEntry() [2/4]

template<typename AttributeType >
FAttributesSetEntry::FAttributesSetEntry ( const int32  NumberOfChannels,
const AttributeType &  Default,
const EMeshAttributeFlags  Flags,
const int32  NumElements,
const int32  Extent 
)
inline

Construct a valid FAttributesSetEntry of the concrete type specified.

◆ ~FAttributesSetEntry()

FAttributesSetEntry::~FAttributesSetEntry ( )
default

Default destructor

◆ FAttributesSetEntry() [3/4]

FAttributesSetEntry::FAttributesSetEntry ( const FAttributesSetEntry Other)
inline

Polymorphic copy: a new copy of Other is created

◆ FAttributesSetEntry() [4/4]

FAttributesSetEntry::FAttributesSetEntry ( FAttributesSetEntry &&  )
default

Default move constructor

Member Function Documentation

◆ CreateArrayOfType()

void FAttributesSetEntry::CreateArrayOfType ( const uint32  Type,
const uint32  Extent 
)
inline

Given a type at runtime, allocate an attribute array of that type, owned by Ptr

◆ Get() [1/2]

FMeshAttributeArraySetBase * FAttributesSetEntry::Get ( )
inline

◆ Get() [2/2]

const FMeshAttributeArraySetBase * FAttributesSetEntry::Get ( ) const
inline

Transparent access through the TUniquePtr

◆ operator bool()

FAttributesSetEntry::operator bool ( ) const
inlineexplicit

Object can be coerced to bool to indicate if it is valid

◆ operator!()

bool FAttributesSetEntry::operator! ( ) const
inline

◆ operator*() [1/2]

FMeshAttributeArraySetBase & FAttributesSetEntry::operator* ( )
inline

◆ operator*() [2/2]

const FMeshAttributeArraySetBase & FAttributesSetEntry::operator* ( ) const
inline

◆ operator->() [1/2]

FMeshAttributeArraySetBase * FAttributesSetEntry::operator-> ( )
inline

◆ operator->() [2/2]

const FMeshAttributeArraySetBase * FAttributesSetEntry::operator-> ( ) const
inline

◆ operator=() [1/2]

FAttributesSetEntry & FAttributesSetEntry::operator= ( const FAttributesSetEntry Other)
inline

Polymorphic assignment

◆ operator=() [2/2]

FAttributesSetEntry & FAttributesSetEntry::operator= ( FAttributesSetEntry &&  )
default

Default move assignment

Friends And Related Symbol Documentation

◆ operator<<

FArchive & operator<< ( FArchive Ar,
FAttributesSetEntry Entry 
)
friend

Serialization


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