Navigation
API > API/Runtime > API/Runtime/MeshDescription
Templated specialization for type-safety.
| Name | TMeshElementContainer |
| Type | class |
| Header File | /Engine/Source/Runtime/MeshDescription/Public/MeshElementContainer.h |
| Include Path | #include "MeshElementContainer.h" |
Syntax
template<typename ElementIDType>
class TMeshElementContainer : public FMeshElementContainer
Inheritance Hierarchy
- FMeshElementContainer → TMeshElementContainer
Classes
| Name | Remarks |
|---|---|
| TElementIDs | This is a special type of iterator which returns successive IDs of valid elements, rather than the elements themselves. |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ElementIDType Add() |
Add a new element at the next available index, and return the new ID | MeshElementContainer.h | |
TAttributesSet< ElementIDType > & GetAttributes () |
Accessor for attributes | MeshElementContainer.h | |
const TAttributesSet< ElementIDType > & GetAttributes () |
MeshElementContainer.h | ||
TElementIDs GetElementIDs() |
Return iterable proxy object from container | MeshElementContainer.h | |
ElementIDType GetFirstValidID() |
Returns the first valid ID | MeshElementContainer.h | |
void Insert
(
const ElementIDType Index |
Inserts a new element with the given index | MeshElementContainer.h | |
bool IsValid
(
const ElementIDType Index |
Returns whether the given ID is valid or not | MeshElementContainer.h | |
void Remove
(
const ElementIDType Index |
Removes the element with the given ID | MeshElementContainer.h |