Navigation
API > API/Plugins > API/Plugins/MassRepresentation
References
| Module | MassRepresentation |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Public/MassRepresentationTypes.h |
| Include | #include "MassRepresentationTypes.h" |
Syntax
struct FMassISMCSharedDataMap
Remarks
The container type hosting FMassISMCSharedData instances and supplying functionality of marking entries that require instance-related operations (adding, removing).
To get a FMassISMCSharedData instance to add operations to it call GetAndMarkDirty.
Use FDirtyIterator to iterate over just the data that needs processing.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FMassISMCSharedData > | Data | ||
| TBitArray | DirtyData | Indicates whether corresponding Data entry has any instance work assigned to it (instance addition or removal) | |
| TArray< int32 > | FreeIndices | Indices to Data that are available for reuse | |
| TMap< FISMCSharedDataKey, int32 > | Map | Mapping from Owner (as FObjectKey) of data represented by FMassISMCSharedData to an index to Data |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FMassISMCSharedData & | |||
| FMassISMCSharedData & | Add
(
const FISMCSharedDataKey OwnerKey, |
||
| FMassISMCSharedData * | |||
| FMassISMCSharedData * | Find
(
const FISMCSharedDataKey OwnerKey |
||
| FMassISMCSharedData & | DEPRECATED. | ||
| FMassISMCSharedData & | FindOrAdd
(
const FISMCSharedDataKey OwnerKey, |
||
| FMassISMCSharedData * | GetAndMarkDirty
(
const uint32 Hash |
||
| FMassISMCSharedData * | GetAndMarkDirty
(
const FISMCSharedDataKey OwnerKey |
||
| FMassISMCSharedData & | GetAndMarkDirtyChecked
(
const uint32 Hash |
||
| FMassISMCSharedData & | GetAndMarkDirtyChecked
(
const FISMCSharedDataKey OwnerKey |
||
| FMassISMCSharedData & | GetAtIndex
(
const int32 DataIndex |
||
| const FMassISMCSharedData * | GetDataForIndex
(
const int32 Index |
||
| TBitArray & | |||
| bool | |||
| bool | IsEmpty () |
||
| int32 | Num () |
||
| int32 | NumValid () |
||
| void | Remove
(
const FISMCSharedDataKey OwnerKey |
||
| void | |||
| void | Reset () |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FDirtyIterator |
See Also
UMassVisualizationComponent::EndVisualChanges for iteration
FMassLODSignificanceRange methods for performing dirtying operations