Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UPrimitiveComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/PrimitiveComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Rendering|Material")
int32 GetCustomPrimitiveDataIndexForScalarParameter
(
FName ParameterName
) const
Remarks
Gets the index of the scalar parameter for the custom primitive data array The index of the custom primitive, INDEX_NONE (-1) if not found
Parameters
| Name | Description |
|---|---|
| ParameterName | The parameter name of the custom primitive |