Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FMeshImageBakingCache
ECorrespondenceStrategy determines the basic approach that will be used to establish a mapping from points on the BakeTarget Mesh (usually low-poly) to points on the Detail Mesh (eg highpoly). Geometrically this is not a 1-1 mapping so there are various options
| Name | ECorrespondenceStrategy |
| Type | enum |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Sampling/MeshImageBakingCache.h |
| Include Path | #include "Sampling/MeshImageBakingCache.h" |
Syntax
enum ECorrespondenceStrategy
{
RaycastStandard,
NearestPoint,
RaycastStandardThenNearest,
Identity,
}
Values
| Name | Remarks |
|---|---|
| RaycastStandard | Raycast inwards from Point+Thickness*Normal, if that misses, try Outwards from Point, then Inwards from Point |
| NearestPoint | Use geometrically nearest point. Thickness is ignored |
| RaycastStandardThenNearest | Use RaycastStandard but fall back to NearestPoint if none of the rays hit |
| Identity | Assume that BakeTarget == DetailMesh and so no mapping is necessary |