Navigation
API > API/Plugins > API/Plugins/PCG
Samples color of texture at each point.
| Name | UPCGSampleTextureSettings |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGSampleTexture.h |
| Include Path | #include "Elements/PCGSampleTexture.h" |
Syntax
UCLASS (BlueprintType, ClassGroup=(Procedural))
class UPCGSampleTextureSettings : public UPCGSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGSampleTextureSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bClampOutputDensity | bool | Controls whether the output density should be clamped or not. | Elements/PCGSampleTexture.h |
|
| DensityMergeFunction | EPCGDensityMergeOperation | Controls the behavior of density computation with respect to initial data. | Elements/PCGSampleTexture.h |
|
| TextureMappingMethod | EPCGTextureMappingMethod | Whether to treat the sample positions as being in 0-1 UV space. | Elements/PCGSampleTexture.h |
|
| TilingMode | EPCGTextureAddressMode | Overrides the texture's tiling to wrap or clamp its UVs. | Elements/PCGSampleTexture.h |
|
| UVCoordinatesAttribute | FPCGAttributePropertyInputSelector | The attribute that provides sample positions for sampling the texture. | Elements/PCGSampleTexture.h |
|
Functions
Public
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FName GetDefaultNodeName() |
Elements/PCGSampleTexture.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/PCGSampleTexture.h | ||
virtual FText GetNodeTooltipText() |
Elements/PCGSampleTexture.h | ||
virtual EPCGSettingsType GetType() |
Elements/PCGSampleTexture.h |
Protected
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/PCGSampleTexture.h | ||
virtual TArray< FPCGPinProperties > InputPinProperties() |
Returns an array of all the input pin properties. You should not add manually a "params" pin, it is handled automatically by FillOverridableParamsPins. | Elements/PCGSampleTexture.h | |
virtual TArray< FPCGPinProperties > OutputPinProperties() |
Elements/PCGSampleTexture.h |