FMassInstancedStaticMeshInfo::AddBatchedCustomData

Adds the specified struct reinterpreted as custom floats to our custom data.

Choose your operating system:

Windows

macOS

Linux

References

Module

MassRepresentation

Header

/Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Public/MassRepresentationTypes.h

Include

#include "MassRepresentationTypes.h"

Syntax

template<typename InCustomDataType>
void AddBatchedCustomData
(
    InCustomDataType InCustomData,
    const float LODSignificance,
    const float PrevLODSignificance,
    int32 NumFloatsToPad
)

Remarks

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.