Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/TTypeBitSetBuilder
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ExportTypes
(
TArray< const TOutStructType*, Allocator >& OutTypes |
Exports the types stored in the bitset to an output array. | TypeBitSetBuilder.h | |
void ExportTypes
(
TFunctionRef< bool(const TUStructType*)> Callback |
Lists all types used by this bitset, calling the provided callback for each one. | TypeBitSetBuilder.h |
ExportTypes(TArray< const TOutStructType *, Allocator > &)
Description
Exports the types stored in the bitset to an output array. Note: This method can be slow due to the use of weak pointers in the struct tracker.
| Name | ExportTypes |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/TypeBitSetBuilder.h |
| Include Path | #include "TypeBitSetBuilder.h" |
template<typename TOutStructType, typename Allocator >
void ExportTypes
(
TArray < const TOutStructType *, Allocator > & OutTypes
) const
Parameters
| Name | Remarks |
|---|---|
| TOutStructType | the output struct type. |
| Allocator | the allocator for the output array. |
| OutTypes | the array to populate with struct types. |
ExportTypes(TFunctionRef< bool(const TUStructType *)>)
Description
Lists all types used by this bitset, calling the provided callback for each one. Returning false from the callback will early-out of iterating over the types. Note: This method can be slow due to the use of weak pointers in the struct tracker.
| Name | ExportTypes |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/TypeBitSetBuilder.h |
| Include Path | #include "TypeBitSetBuilder.h" |
void ExportTypes
(
TFunctionRef < bool> Callback
) const
Parameters
| Name | Remarks |
|---|---|
| Callback | the callback function to call for each type. |