Navigation
API > API/Plugins > API/Plugins/PCGGeometryScriptInterop > API/Plugins/PCGGeometryScriptInterop/Elements
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGMeshSamplerSettings
References
| Module | PCGGeometryScriptInterop |
| Header | /Engine/Plugins/PCGInterops/PCGGeometryScriptInterop/Source/PCGGeometryScriptInterop/Public/Elements/PCGMeshSampler.h |
| Include | #include "Elements/PCGMeshSampler.h" |
Syntax
UCLASS (BlueprintType, ClassGroup=(Procedural))
class UPCGMeshSamplerSettings : public UPCGSettings
Remarks
Sample points on a mesh.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bExtractMeshFromInput | Can provide a list of inputs to sample the meshes from. | |
| bool | bExtractUVAsAttribute | ||
| bool | bOutputMaterialInfo | ||
| bool | bOutputTriangleIds | ||
| bool | bRemoveHiddenTriangles | Post-processing pass after voxelization to remove hidden triangles. | |
| bool | bSynchronousLoad | ||
| bool | bUseColorChannelAsDensity | Will extract the color channel into the density. | |
| bool | bVoxelize | Enable voxelisation as a preparation pass. Can be more expensive given the VoxelSize. | |
| EPCGColorChannel | ColorChannelAsDensity | ||
| FPCGAttributePropertyInputSelector | InputSource | Selector to read data from. | |
| FName | MaterialAttributeName | ||
| FName | MaterialIdAttributeName | ||
| 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. | |
| FName | TriangleIdAttributeName | ||
| FName | UVAttributeName | ||
| int32 | UVChannel | ||
| float | VoxelSize | Size of a voxel for the voxelization. |
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 > | |||
| void | PostLoad () |
||
| bool | UseSeed () |
By default, settings do not use a seed. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bUseRedAsDensity_DEPRECATED | ||
| FSoftObjectPath | StaticMeshPath_DEPRECATED | Deprecated in UE 5.3 in favor of StaticMesh. |