Navigation
API > API/Runtime > API/Runtime/MeshConversion > API/Runtime/MeshConversion/FDynamicMeshToMeshDescription
Description
Applies an optional sRGB-to-Linear color transform on the input. The color transform is controlled by ConversionOptions.bTransformVtxColorsSRGBToLinear.
The counterpart to this method is MeshDescriptionToDynamicMesh::ApplyVertexColorTransform which will undo this color transformation when the MeshDescription is read back.
| Name | ApplyVertexColorTransform |
| Type | function |
| Header File | /Engine/Source/Runtime/MeshConversion/Public/DynamicMeshToMeshDescription.h |
| Include Path | #include "DynamicMeshToMeshDescription.h" |
| Source | /Engine/Source/Runtime/MeshConversion/Private/DynamicMeshToMeshDescription.cpp |
void ApplyVertexColorTransform
(
FVector4f & Color
) const
Parameters
| Name | Remarks |
|---|---|
| Color | color to transform |