Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Sampling
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Sampling/MeshImageBakingCache.h |
| Include | #include "Sampling/MeshImageBakingCache.h" |
Syntax
class FMeshImageBakingCache
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bOccupancyValid | ||
| bool | bSamplesValid | ||
| TFunction< bool(void)> | CancelF | If this function returns true, we should abort calculation | |
| ECorrespondenceStrategy | CorrespondenceStrategy | ||
| const FDynamicMesh3 * | DetailMesh | ||
| const FDynamicMeshAABBTree3 * | DetailSpatial | ||
| FImageDimensions | Dimensions | ||
| int32 | GutterSize | ||
| TUniquePtr< FImageOccupancyMap > | OccupancyMap | ||
| TDenseGrid2< FCorrespondenceSample > | SampleMap | ||
| const FDynamicMesh3 * | TargetMesh | ||
| double | Thickness | ||
| int32 | UVLayer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | EvaluateSamples
(
TFunctionRef< void(const FVector2i&, const FCorrespondenceSample&)> SampleFunction, |
||
| void | FindSamplingHoles
(
TFunctionRef< bool(const FVector2i&)> IsValidSampleFunction, |
Iterate over valid samples in the Occupancy map to find "holes", ie pixels where no valid sample could be computed according to IsValidSampleFunction. | |
| const FDynamicMesh3 * | |||
| const FDynamicMeshNormalOverlay * | |||
| const FDynamicMeshUVOverlay * | |||
| ECorrespondenceStrategy | |||
| const FDynamicMesh3 * | |||
| const FDynamicMeshNormalOverlay * | |||
| const FDynamicMeshAABBTree3 * | |||
| FImageDimensions | |||
| const FImageOccupancyMap * | |||
| double | GetThickness () |
||
| int32 | GetUVLayer () |
||
| void | |||
| void | |||
| bool | IsCacheValid () |
||
| void | SetBakeTargetMesh
(
const FDynamicMesh3* Mesh |
||
| void | SetCorrespondenceStrategy
(
ECorrespondenceStrategy Strategy |
||
| void | SetDetailMesh
(
const FDynamicMesh3* Mesh, |
||
| void | SetDimensions
(
FImageDimensions Dimensions |
||
| void | SetGutterSize
(
int32 GutterSize |
||
| void | SetThickness
(
double Thickness |
||
| void | SetUVLayer
(
int32 UVLayer |
||
| bool |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FCorrespondenceSample |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ECorrespondenceStrategy | 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). |