Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Sampling > API/Plugins/DynamicMesh/Sampling/FMeshBakerDynamicMeshSampler
- IMeshBakerDetailSampler::TriBaryInterpolateColor()
- FMeshBakerDynamicMeshSampler::TriBaryInterpolateColor()
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Sampling/MeshBakerCommon.h |
| Include | #include "Sampling/MeshBakerCommon.h" |
virtual bool TriBaryInterpolateColor
&40;
const void &42; Mesh,
const int32 TriId,
const FVector3d & BaryCoords,
FVector4f & ColorOut
&41; const
Remarks
Compute interpolated vertex color value inside triangle using barycentric coordinates true if a valid vertex color was returned, false otherwise
Parameters
| Name | Description |
|---|---|
| Mesh | pointer to mesh to query |
| TriId | index of triangle |
| BaryCoords | 3 barycentric coordinates inside triangle |
| ColorOut | resulting interpolated vertex color parameter value |