Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPrimitiveComponent
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetCustomPrimitiveDataFloatArray
(
int32 DataIndex, |
Set custom primitive data, an array of floats at once, from index DataIndex to index DataIndex + Values.Num(). | Components/PrimitiveComponent.h |
|
void SetCustomPrimitiveDataFloatArray
(
int32 DataIndex, |
Set custom primitive data, an array of floats at once, from index DataIndex to index DataIndex + Values.Num(). | Components/PrimitiveComponent.h |
SetCustomPrimitiveDataFloatArray(int32, const TArray< float > &)
Description
Set custom primitive data, an array of floats at once, from index DataIndex to index DataIndex + Values.Num(). This sets the run-time data only, so it doesn't serialize.
| Name | SetCustomPrimitiveDataFloatArray |
| 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 SetCustomPrimitiveDataFloatArray
(
int32 DataIndex,
const TArray < float > & Values
)
SetCustomPrimitiveDataFloatArray(int32, TConstArrayView< float >)
Description
Set custom primitive data, an array of floats at once, from index DataIndex to index DataIndex + Values.Num(). This sets the run-time data only, so it doesn't serialize.
| Name | SetCustomPrimitiveDataFloatArray |
| 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 SetCustomPrimitiveDataFloatArray
(
int32 DataIndex,
TConstArrayView< float > Values
)