Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UStaticMesh
Description
Sets vertex color data by position. Map of vertex color data by position is matched to the vertex position in the mesh and nearest matching vertex color is used.
| Name | SetVertexColorData |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h |
| Include Path | #include "Engine/StaticMesh.h" |
| Source | /Engine/Source/Runtime/Engine/Private/StaticMesh.cpp |
void SetVertexColorData
(
const TMap < FVector3f, FColor > & VertexColorData
)
Parameters
| Name | Remarks |
|---|---|
| VertexColorData | A map of vertex position data and color. |