Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Sampling
Inheritance Hierarchy
- FMeshMapEvaluator
- FMeshCurvatureMapEvaluator
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Sampling/MeshCurvatureMapEvaluator.h |
| Include | #include "Sampling/MeshCurvatureMapEvaluator.h" |
Syntax
class FMeshCurvatureMapEvaluator : public UE::Geometry::FMeshMapEvaluator
Remarks
A mesh evaluator for mesh curvatures.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bOverrideCurvatureRange | Allows override of the max curvature; if false, range is set based on [-(avg+stddev), avg+stddev]. | |
| FInterval1d | ClampRange | ||
| TSharedPtr< FMeshVertexCurvatureCache > | Curvatures | Required input data, can be provided, will be computed otherwise. | |
| const IMeshBakerDetailSampler * | DetailSampler | Cached data. | |
| double | MaxPreClamp | ||
| double | MinPreClamp | ||
| double | MinRangeScale | ||
| FVector3f | NegativeColor | ||
| double | OverrideRangeMax | ||
| FVector3f | PositiveColor | ||
| double | RangeScale | ||
| EClampMode | UseClampMode | ||
| EColorMode | UseColorMode | ||
| ECurvatureType | UseCurvatureType | ||
| FVector3f | ZeroColor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Populate Curvatures member if valid data has not been provided | ||
| void | EvaluateChannel
(
const int DataIdx, |
||
| void | EvaluateColor
(
const int DataIdx, |
||
| void | EvaluateDefault
(
float*& Out, |
||
| void | EvaluateSample
(
float*& Out, |
||
| void | GetColorMapRange
(
FVector3f& NegativeColorOut, |
||
| double | GetCurvature
(
int32 vid |
Overridden from FMeshMapEvaluator
| Type | Name | Description | |
|---|---|---|---|
| const TArray< EComponents > & | DataLayout () |
||
| void | Setup
(
const FMeshBaseBaker& Baker, |
Invoked at start of bake to setup this evaluator and return an evaluation context to the baker. | |
| EMeshMapEvaluatorType | Type () |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EClampMode | |||
| EColorMode | |||
| ECurvatureType |