Navigation
API > API/Plugins > API/Plugins/MassRepresentation > API/Plugins/MassRepresentation/FMassInstancedStaticMeshInfo
Description
Adds the specified struct reinterpreted as custom floats to our custom data. Individual members of the specified struct should always fit into a float. When adding any custom data, the custom data must be added for every instance.
| Name | AddBatchedCustomData |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Public/MassRepresentationTypes.h |
| Include Path | #include "MassRepresentationTypes.h" |
template<typename InCustomDataType>
void AddBatchedCustomData
(
InCustomDataType InCustomData,
const float LODSignificance,
const float PrevLODSignificance,
int32 NumFloatsToPad
)