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
USTRUCT&40;&41;
struct FMassInstancedStaticMeshInfo
Variables
| Type | Name | Description | |
|---|---|---|---|
| FStaticMeshInstanceVisualizationDesc | Desc | Information about this static mesh which will represent all instances | |
| TArray< TObjectPtr< UInstancedStaticMeshComponent > > | InstancedStaticMeshComponents | The component handling these instances | |
| TArray< FMassLODSignificanceRange > | LODSignificanceRanges |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMassInstancedStaticMeshInfo
(
const FStaticMeshInstanceVisualizationDesc& InDesc |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddBatchedCustomData
(
InCustomDataType InCustomData, |
Adds the specified struct reinterpreted as custom floats to our custom data. | |
| void | AddBatchedCustomDataFloats
(
const TArray< float >& CustomFloats, |
||
| void | AddBatchedTransform
(
const int32 InstanceId, |
||
| void | AddISMComponent
(
FMassISMCSharedData& SharedData |
||
| void | ClearVisualInstance
(
FMassISMCSharedDataMap& ISMCSharedData |
Destroy the visual instance | |
| const FStaticMeshInstanceVisualizationDesc & | GetDesc () |
||
| FMassLODSignificanceRange * | GetLODSignificanceRange
(
float LODSignificance |
||
| int32 | |||
| FTransform | |||
| void | RemoveInstance
(
const int32 InstanceId, |
||
| bool | Whether or not to transform the static meshes if not align the mass agent transform | ||
| void | WriteCustomDataFloatsAtStartIndex
(
int32 StaticMeshIndex, |