Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPrimitiveComponent
Description
Set a vector parameter for custom primitive data. This sets the run-time data only, so it doesn't serialize.
| Name | SetVectorParameterForCustomPrimitiveData |
| 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 |
UFUNCTION (BlueprintCallable, Category="Rendering|Material")
void SetVectorParameterForCustomPrimitiveData
(
FName ParameterName,
FVector4 Value
)
Parameters
| Name | Remarks |
|---|---|
| ParameterName | The parameter name of the custom primitive |
| Value | The new value of the custom primitive |