unreal.PCGMeshSamplingMethod

class unreal.PCGMeshSamplingMethod

Bases: EnumBase

EPCGMesh Sampling Method

C++ Source:

  • Plugin: PCGGeometryScriptInterop

  • Module: PCGGeometryScriptInterop

  • File: PCGMeshSampler.h

ONE_POINT_PER_TRIANGLE: PCGMeshSamplingMethod

Sample one point (at the center) of each triangle of the mesh.

Type:

0

ONE_POINT_PER_VERTEX: PCGMeshSamplingMethod

Sample one point per vertex on the mesh.

Type:

1

POISSON_SAMPLING: PCGMeshSamplingMethod

Use Poisson sampling to sample points on the mesh. Can be expensive and therefore it is not framebound.

Type:

2