Navigation
API > API/Plugins > API/Plugins/FractureEngine
References
| Module | FractureEngine |
| Header | /Engine/Plugins/Experimental/Fracture/Source/FractureEngine/Public/FractureEngineSampling.h |
| Include | #include "FractureEngineSampling.h" |
Syntax
enum ENonUniformSamplingWeightMode
{
UMETA =(DisplayName = "Weight To Radius"),
UMETA =(DisplayName = "Filled Weight To Radius"),
UMETA =(DisplayName = "Weighted Random"),
}
Values
| Name | Description |
|---|---|
| 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. |