| TMeshAttributeArrayBase
|
Module |
|
Header |
/Engine/Source/Runtime/MeshDescription/Public/MeshAttributeArray.h |
Include |
#include "MeshAttributeArray.h" |
template<typename AttributeType>
class TMeshAttributeArrayBase
This defines the container used to hold mesh element attributes of a particular name and index. It is a simple TArray, so that all attributes are packed contiguously for each element ID.
that the container may grow arbitrarily as new elements are inserted, but it will never be shrunk as elements are removed. The only operations that will shrink the container are Initialize() and Remap().
Name | Description | ||
---|---|---|---|
|
const Attrib... |
GetData() |
Return base of data |
|
GetHash ( |
||
|
Initialize ( |
Initializes the array to the given size with the default value |
|
|
Insert ( |
Expands the array if necessary so that the passed element index is valid. |
|
|
Num() |
Return size of container |
|
|
Remap ( |
Remaps elements according to the passed remapping table |
Name | Description | ||
---|---|---|---|
|
const Attrib... |
operator[] ( |
Element accessors |
|
AttributeTyp... |
operator[] ( |