Navigation
API > API/Plugins > API/Plugins/PCGGeometryScriptInterop > API/Plugins/PCGGeometryScriptInterop/Elements
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGMeshSamplerSettings
References
| Module | PCGGeometryScriptInterop |
| Header | /Engine/Plugins/Experimental/PCGGeometryScriptInterop/Source/PCGGeometryScriptInterop/Public/Elements/PCGMeshSampler.h |
| Include | #include "Elements/PCGMeshSampler.h" |
Syntax
UCLASS&40;BlueprintType, ClassGroup&61;&40;Procedural&41;&41;
class UPCGMeshSamplerSettings : public UPCGSettings
Remarks
Sample points on a mesh
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bRemoveHiddenTriangles | Post-processing pass after voxelization to remove hidden triangles. | |
| bool | bUseRedAsDensity | In "One Point Per Vertex" option, will assign point density from the red component of the vertex color. | |
| bool | bVoxelize | Enable voxelisation as a preparation pass. Can be more expensive given the VoxelSize. | |
| FGeometryScriptNonUniformPointSamplingOptions | NonUniformSamplingOptions | ||
| float | PointSteepness | Each PCG point represents a discretized, volumetric region of world space. | |
| int32 | RequestedLODIndex | ||
| EGeometryScriptLODType | RequestedLODType | LOD type to use when creating DynamicMesh from specified StaticMesh. | |
| EPCGMeshSamplingMethod | SamplingMethod | ||
| FGeometryScriptMeshPointSamplingOptions | SamplingOptions | Poisson Sampling parameters. | |
| TSoftObjectPtr< UStaticMesh > | StaticMesh | Soft Object Path to the mesh to sample from. Will be loaded. | |
| float | VoxelSize | Size of a voxel for the voxelization. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| FPCGElementPtr | |||
| FName | |||
| FText | |||
| FText | |||
| EPCGSettingsType | GetType () |
||
| TArray< FPCGPinProperties > | Returns an array of all the input pin properties. You should not add manually a "params" pin, it is handled automatically by FillOverridableParamsPins. | ||
| TArray< FPCGPinProperties > |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| FSoftObjectPath | StaticMeshPath_DEPRECATED | Deprecated in UE 5.3 in favor of StaticMesh. |