UStaticMesh::SetVertexColorData

Sets vertex color data by position.

Windows
MacOS
Linux

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

Syntax

void SetVertexColorData
(
    const TMap< FVector, 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

Parameter

Description

VertexColorData

A map of vertex position data and color.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss