Navigation
API > API/Plugins > API/Plugins/PCGGeometryScriptInterop
| Name | EPCGMeshSamplingMethod |
| Type | enum |
| Header File | /Engine/Plugins/PCGInterops/PCGGeometryScriptInterop/Source/PCGGeometryScriptInterop/Public/Elements/PCGMeshSampler.h |
| Include Path | #include "Elements/PCGMeshSampler.h" |
Syntax
enum EPCGMeshSamplingMethod
{
OnePointPerTriangle,
OnePointPerVertex,
PoissonSampling,
}
Values
| Name | Remarks |
|---|---|
| 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. |