Navigation
API > API/Runtime > API/Runtime/MeshDescription
This is a wrapper for a FMeshElementChannels. It holds a TUniquePtr pointing to the actual FMeshElementChannels, so that its address is constant and can be cached.
| Name | FMeshElementTypeWrapper |
| Type | class |
| Header File | /Engine/Source/Runtime/MeshDescription/Public/MeshElementContainer.h |
| Include Path | #include "MeshElementContainer.h" |
Syntax
class FMeshElementTypeWrapper
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMeshElementTypeWrapper
(
const int32 NumberOfChannels |
Default constructor - construct a MeshElementType, optionally with more than one channel | MeshElementContainer.h | |
FMeshElementTypeWrapper
(
const FMeshElementTypeWrapper& Other |
Copy constructor - make a deep copy of the MeshElementType through the TUniquePtr | MeshElementContainer.h | |
| Default move constructor | MeshElementContainer.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Ptr | TUniquePtr< FMeshElementChannels > | MeshElementContainer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FMeshElementChannels * Get () |
Transparent access through the TUniquePtr | MeshElementContainer.h | |
FMeshElementChannels * Get () |
MeshElementContainer.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FMeshElementChannels & operator* () |
MeshElementContainer.h | ||
| MeshElementContainer.h | |||
FMeshElementTypeWrapper & operator=
(
const FMeshElementTypeWrapper& Other |
Copy assignment | MeshElementContainer.h | |
| Default move assignment | MeshElementContainer.h | ||
const FMeshElementChannels * operator-> () |
MeshElementContainer.h | ||
| MeshElementContainer.h |