Navigation
API > API/Runtime > API/Runtime/MeshConversion > API/Runtime/MeshConversion/FDynamicMeshToMeshDescription
References
| Module | MeshConversion |
| Header | /Engine/Source/Runtime/MeshConversion/Public/DynamicMeshToMeshDescription.h |
| Include | #include "DynamicMeshToMeshDescription.h" |
| Source | /Engine/Source/Runtime/MeshConversion/Private/DynamicMeshToMeshDescription.cpp |
void ApplyVertexColorTransform
(
FVector4f & Color
) const
Remarks
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.
Parameters
| Name | Description |
|---|---|
| Color | color to transform |