Navigation
API > API/Plugins > API/Plugins/PCGGeometryScriptInterop
Sample points on a mesh.
| Name | UPCGMeshSamplerSettings |
| Type | class |
| Header File | /Engine/Plugins/PCGInterops/PCGGeometryScriptInterop/Source/PCGGeometryScriptInterop/Public/Elements/PCGMeshSampler.h |
| Include Path | #include "Elements/PCGMeshSampler.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGMeshSamplerSettings : public UPCGSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGMeshSamplerSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPCGMeshSamplerSettings() |
Elements/PCGMeshSampler.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bExtractMeshFromInput | bool | Can provide a list of inputs to sample the meshes from. | Elements/PCGMeshSampler.h |
|
| bExtractUVAsAttribute | bool | Elements/PCGMeshSampler.h |
|
|
| bOutputMaterialInfo | bool | Elements/PCGMeshSampler.h |
|
|
| bOutputTriangleIds | bool | Elements/PCGMeshSampler.h |
|
|
| bRemoveHiddenTriangles | bool | Post-processing pass after voxelization to remove hidden triangles. | Elements/PCGMeshSampler.h |
|
| bSynchronousLoad | bool | Elements/PCGMeshSampler.h |
|
|
| bUseColorChannelAsDensity | bool | Will extract the color channel into the density. | Elements/PCGMeshSampler.h |
|
| bVoxelize | bool | Enable voxelisation as a preparation pass. Can be more expensive given the VoxelSize. | Elements/PCGMeshSampler.h |
|
| ColorChannelAsDensity | EPCGColorChannel | Elements/PCGMeshSampler.h |
|
|
| InputSource | FPCGAttributePropertyInputSelector | Selector to read data from. | Elements/PCGMeshSampler.h |
|
| MaterialAttributeName | FName | Elements/PCGMeshSampler.h |
|
|
| MaterialIdAttributeName | FName | Elements/PCGMeshSampler.h |
|
|
| NonUniformSamplingOptions | FGeometryScriptNonUniformPointSamplingOptions | Elements/PCGMeshSampler.h |
|
|
| PointSteepness | float | Each PCG point represents a discretized, volumetric region of world space. | Elements/PCGMeshSampler.h |
|
| RequestedLODIndex | int32 | Elements/PCGMeshSampler.h |
|
|
| RequestedLODType | EGeometryScriptLODType | LOD type to use when creating DynamicMesh from specified StaticMesh. | Elements/PCGMeshSampler.h |
|
| SamplingMethod | EPCGMeshSamplingMethod | Elements/PCGMeshSampler.h |
|
|
| SamplingOptions | FGeometryScriptMeshPointSamplingOptions | Poisson Sampling parameters. | Elements/PCGMeshSampler.h |
|
| StaticMesh | TSoftObjectPtr< UStaticMesh > | Soft Object Path to the mesh to sample from. Will be loaded. | Elements/PCGMeshSampler.h |
|
| TriangleIdAttributeName | FName | Elements/PCGMeshSampler.h |
|
|
| UVAttributeName | FName | Elements/PCGMeshSampler.h |
|
|
| UVChannel | int32 | Elements/PCGMeshSampler.h |
|
|
| VoxelSize | float | Size of a voxel for the voxelization. | Elements/PCGMeshSampler.h |
|
Functions
Public
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanDynamicallyTrackKeys() |
Elements/PCGMeshSampler.h | ||
virtual FName GetDefaultNodeName() |
Elements/PCGMeshSampler.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/PCGMeshSampler.h | ||
virtual FText GetNodeTooltipText() |
Elements/PCGMeshSampler.h | ||
virtual void GetStaticTrackedKeys
(
FPCGSelectionKeyToSettingsMap& OutKeysToSettings, |
Elements/PCGMeshSampler.h | ||
virtual EPCGSettingsType GetType() |
Elements/PCGMeshSampler.h | ||
virtual TArray< FPCGPinProperties > InputPinProperties() |
Elements/PCGMeshSampler.h | ||
virtual TArray< FPCGPinProperties > OutputPinProperties() |
Elements/PCGMeshSampler.h | ||
virtual bool UseSeed() |
Elements/PCGMeshSampler.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostLoad() |
Elements/PCGMeshSampler.h |
Protected
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/PCGMeshSampler.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseRedAsDensity_DEPRECATED | bool | Elements/PCGMeshSampler.h | ||
| StaticMeshPath_DEPRECATED | FSoftObjectPath | Deprecated in UE 5.3 in favor of StaticMesh. | Elements/PCGMeshSampler.h |