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 FMassISMCSharedData
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 | bRequiresExternalInstanceIDTracking | When set to true will result in MassVisualizationComponent manually perform Instance ID-related operations instead of relying on ISMComponent's internal ID operations. | |
| FEntityToPrimitiveIdMap | EntityHandleToPrimitiveIdMap | ||
| friend | FMassLODSignificanceRange | ||
| UInstancedStaticMeshComponent * | ISMC | ||
| int32 | ISMComponentReferencesCount | ||
| int32 | RefCount | ||
| TArray< FMassEntityHandle > | RemoveInstanceIds | ||
| TArray< float > | StaticMeshInstanceCustomFloats | Buffer holding current frame custom floats for the static mesh instances, used to batch update the ISMs custom data | |
| TArray< FTransform > | StaticMeshInstancePrevTransforms | ||
| TArray< FTransform > | StaticMeshInstanceTransforms | ||
| friend | UMassVisualizationComponent | ||
| TArray< FMassEntityHandle > | UpdateInstanceIds | Buffer holding current frame transforms for the static mesh instances, used to batch update the transforms | |
| int32 | WriteIterator | When initially adding to StaticMeshInstanceCustomFloats, can use the size as the write iterator, but on subsequent processors, we need to know where to start writing. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| PRAGMA_DISABLE_DEPRECATION_WARNINGS | |||
FMassISMCSharedData
(
const FMassISMCSharedData& Other |
|||
FMassISMCSharedData
(
UInstancedStaticMeshComponent* InISMC, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int16 | |||
| const FEntityToPrimitiveIdMap & | |||
| const UInstancedStaticMeshComponent * | |||
| FEntityToPrimitiveIdMap & | |||
| UInstancedStaticMeshComponent * | |||
| TConstArrayView< FMassEntityHandle > | |||
| TConstArrayView< float > | |||
| TConstArrayView< FTransform > | |||
| TConstArrayView< FTransform > | |||
| const TArray< FTransform > & | This function is a flavor we need to interact with older engine API that's using TArray references. | ||
| TConstArrayView< FMassEntityHandle > | |||
| bool | |||
| int32 | |||
| int32 | |||
| int32 | |||
| void | RemoveUpdatedInstanceIdsAtSwap
(
const int32 InstanceIDIndex |
||
| bool | |||
| void | Reset () |
||
| void | |||
| PRAGMA_ENABLE_DEPRECATION_WARNINGS void | SetISMComponent
(
UInstancedStaticMeshComponent& InISMC |
||
| int32 |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FMassISMCSharedData & | operator=
(
const FMassISMCSharedData& Other |
Typedefs
| Name | Description |
|---|---|
| FEntityToPrimitiveIdMap |