FAttributesSetEntry

This is a wrapper for an allocated attributes array.

Windows
MacOS
Linux

References

Module

MeshDescription

Header

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

Include

#include "MeshAttributeArray.h"

Syntax

class FAttributesSetEntry

Remarks

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.

Constructors

Name Description

Public function

FAttributesSetEntry()

Default constructor.

Public function

FAttributesSetEntry

(
    const FAttributesSetEntry& Other
)

Polymorphic copy: a new copy of Other is created

Public function

FAttributesSetEntry

(
    FAttributesSetEntry&&
)

Default move constructor

Public function

FAttributesSetEntry

(
    const int32 NumberOfIndices,
    const AttributeType& Default,
    const EMeshAttributeFlags Flags,
    const int32 NumElements
)

Construct a valid FAttributesSetEntry of the concrete type specified.

Destructors

Name Description

Public function

~FAttributesSetEntry()

Default destructor

Functions

Name Description

Public function

void

 

CreateArrayOfType

(
    const uint32 Type
)

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

Public function Const

const FMeshA...

 

Get()

Transparent access through the TUniquePtr

Public function

FMeshAttribu...

 

Get()

Operators

Name Description

Public function Const

 

operator bool()

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

Public function Const

bool

 

operator!()

Public function Const

const FMeshA...

 

operator*()

Public function

FMeshAttribu...

 

operator*()

Public function

FAttributesS...

 

operator=

(
    const FAttributesSetEntry& Other
)

Polymorphic assignment

Public function

FAttributesS...

 

operator=

(
    FAttributesSetEntry&&
)

Default move assignment

Public function Const

const FMeshA...

 

operator->()

Public function

FMeshAttribu...

 

operator->()

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