Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FMeshSurfacePointSampling
Control how active Weights are used to affect point radius
| Name | EInterpretWeightMode |
| Type | enum |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Sampling/MeshSurfacePointSampling.h |
| Include Path | #include "Sampling/MeshSurfacePointSampling.h" |
Syntax
enum EInterpretWeightMode
{
RadiusInterp = 0,
RadiusInterpWithFill = 1,
WeightedRandom = 2,
}
Values
| Name | Remarks |
|---|---|
| RadiusInterp | Weights are clamped to [0,1] and used to interpolate Min/Max Radius |
| RadiusInterpWithFill | Weights are clamped to [0,1] and used to interpolate Min/Max Radius, with decay, so that smaller-radius samples will infill between large ones |
| WeightedRandom | Weight is used to create nonuniform random sampling, ie it nudges the random point radius distribution but does not directly control it |