Navigation
API > API/Runtime > API/Runtime/MeshConversion > API/Runtime/MeshConversion/FMeshDescriptionToDynamicMesh
Description
Applies an optional Linear-to-sRGB color transform on the input. The color transform is controlled by bTransformVtxColorsLinearToSRGB.
This is the counterpart to DynamicMeshToMeshDescription::ApplyVertexColorTransform to undo an applied sRGB-to-Linear transformation when the MeshDescription was built.
| Name | ApplyVertexColorTransform |
| Type | function |
| Header File | /Engine/Source/Runtime/MeshConversion/Public/MeshDescriptionToDynamicMesh.h |
| Include Path | #include "MeshDescriptionToDynamicMesh.h" |
| Source | /Engine/Source/Runtime/MeshConversion/Private/MeshDescriptionToDynamicMesh.cpp |
void ApplyVertexColorTransform
(
FVector4f & Color
) const
Parameters
| Name | Remarks |
|---|---|
| Color | color to transform |