Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UStaticMesh
Description
Returns vertex color data by position. For matching to reimported meshes that may have changed or copying vertex paint data from mesh to mesh.
| Name | GetVertexColorData |
| 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 GetVertexColorData
(
TMap < FVector3f, FColor > & VertexColorData
)
Parameters
| Name | Remarks |
|---|---|
| VertexColorData | (out)A map of vertex position data and its color. The method fills this map. |