Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UStaticMesh
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h |
Include | #include "Engine/StaticMesh.h" |
Source | /Engine/Source/Runtime/Engine/Private/StaticMesh.cpp |
void SetVertexColorData
(
const TMap < FVector3f , FColor > & VertexColorData
)
Remarks
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.
Parameters
Name | Description |
---|---|
VertexColorData | A map of vertex position data and color. |