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")
void SetScalarParameterForCustomPrimitiveData
(
FName ParameterName,
float Value
)
Remarks
Set a scalar parameter for custom primitive data. This sets the run-time data only, so it doesn't serialize.
Parameters
| Name | Description |
|---|---|
| ParameterName | The parameter name of the custom primitive |
| Value | The new value of the custom primitive |