Navigation
API > API/Plugins > API/Plugins/PCGGeometryScriptInterop > API/Plugins/PCGGeometryScriptInterop/Elements
References
| Module | PCGGeometryScriptInterop |
| Header | /Engine/Plugins/PCGGeometryScriptInterop/Source/PCGGeometryScriptInterop/Public/Elements/PCGMeshSampler.h |
| Include | #include "Elements/PCGMeshSampler.h" |
Syntax
enum EPCGMeshSamplingMethod
{
OnePointPerTriangle,
OnePointPerVertex,
PoissonSampling,
}
Values
| Name | Description |
|---|---|
| OnePointPerTriangle | Sample one point (at the center) of each triangle of the mesh. |
| OnePointPerVertex | Sample one point per vertex on the mesh. |
| PoissonSampling | Use Poisson sampling to sample points on the mesh. |