Navigation
API > API/Plugins > API/Plugins/FractureEngine
| Name | ENonUniformSamplingWeightMode |
| Type | enum |
| Header File | /Engine/Plugins/Experimental/Fracture/Source/FractureEngine/Public/FractureEngineSampling.h |
| Include Path | #include "FractureEngineSampling.h" |
Syntax
enum ENonUniformSamplingWeightMode
{
UMETA =(DisplayName = "Weight To Radius"),
UMETA =(DisplayName = "Filled Weight To Radius"),
UMETA =(DisplayName = "Weighted Random"),
}
Values
| Name | Remarks |
|---|---|
| UMETA | Weights are clamped to [0,1] and used to interpolate Min/Max Radius. |
| UMETA | 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. |
| UMETA | Weight is used to create nonuniform random sampling, ie it nudges the random sample-radius distribution but does not directly control it. |