Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPrimitiveComponent
Description
Gather the default custom primitive data parameters. Non-const as it keeps a non-const weak pointer on 'this'. Outputs an array of pairs of primitive indices with the corresponding parameter and the max primitive data index.
| Name | GatherDefaultCustomPrimitiveDataParametersFromMaterials |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include Path | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/PrimitiveComponent.cpp |
void GatherDefaultCustomPrimitiveDataParametersFromMaterials
(
TArray < TPair< uint8, FCustomPrimitiveDataParameter > > & OutParameters,
int32 & OutMaxPrimitiveDataIndex
)