Navigation
API > API/Plugins > API/Plugins/PCG
| Name | UPCGTextureSamplerSettings |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGTextureSampler.h |
| Include Path | #include "Elements/PCGTextureSampler.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGTextureSamplerSettings : public UPCGSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGTextureSamplerSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bForceEditorOnlyCPUSampling | bool | Even if the texture is not set to CPU-available, it can still be accessed from CPU memory under certain conditions (sRGB disabled, no mipmaps, and non-compressed format). | Elements/PCGTextureSampler.h |
|
| bSkipReadbackToCPU | bool | Skip CPU readback during initialization of the texture data. | Elements/PCGTextureSampler.h |
|
| bSynchronousLoad | bool | By default, texture loading is asynchronous, can force it synchronous if needed. | Elements/PCGTextureSampler.h |
|
| bUseAbsoluteTransform | bool | Elements/PCGTextureSampler.h |
|
|
| bUseAdvancedTiling | bool | Whether to tile the source or to stretch it to fit target area. | Elements/PCGTextureSampler.h |
|
| bUseDensitySourceChannel | bool | Elements/PCGTextureSampler.h |
|
|
| bUseTileBounds | bool | Elements/PCGTextureSampler.h |
|
|
| CenterOffset | FVector2D | Elements/PCGTextureSampler.h |
|
|
| ColorChannel | EPCGTextureColorChannel | Elements/PCGTextureSampler.h |
|
|
| DensityFunction | PRAGMA_DISABLE_DEPRECATION_WARNINGS EPCGTextureDensityFunction | Elements/PCGTextureSampler.h |
|
|
| Filter | EPCGTextureFilter | Method used to determine the value for a sample based on the value of nearby texels. | Elements/PCGTextureSampler.h |
|
| Rotation | float | Rotation to apply when sampling texture. | Elements/PCGTextureSampler.h |
|
| TexelSize | float | The size of one texel in cm, used when calling ToPointData. | Elements/PCGTextureSampler.h |
|
| TextureArrayIndex | int | Index of texture array slice. | Elements/PCGTextureSampler.h |
|
| TileBoundsMax | FVector2D | Elements/PCGTextureSampler.h |
|
|
| TileBoundsMin | FVector2D | Elements/PCGTextureSampler.h |
|
|
| Tiling | FVector2D | Elements/PCGTextureSampler.h |
|
|
| Transform | FTransform | Surface transform | Elements/PCGTextureSampler.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSoftObjectPtr< UTexture > GetTexture() |
Elements/PCGTextureSampler.h | ||
void SetTexture
(
TSoftObjectPtr< UTexture > InTexture |
Elements/PCGTextureSampler.h |
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanDynamicallyTrackKeys() |
Derived classes must implement this to communicate that they might have dynamic dependencies. | Elements/PCGTextureSampler.h | |
virtual FName GetDefaultNodeName() |
Elements/PCGTextureSampler.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/PCGTextureSampler.h | ||
virtual FText GetNodeTooltipText() |
Elements/PCGTextureSampler.h | ||
virtual void GetStaticTrackedKeys
(
FPCGSelectionKeyToSettingsMap& OutKeysToSettings, |
Derived classes must implement this to communicate dependencies that are known statically. | Elements/PCGTextureSampler.h | |
virtual EPCGSettingsType GetType() |
Elements/PCGTextureSampler.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Elements/PCGTextureSampler.h | ||
virtual void PostLoad() |
Elements/PCGTextureSampler.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
PRAGMA_DISABLE_DEPRECATION_WARNINGS EPCGTextureDensityFunction GetDensityFunctionEquivalent() |
Elements/PCGTextureSampler.h |
|
|
void SetDensityFunctionEquivalent
(
EPCGTextureDensityFunction DensityFunction |
Elements/PCGTextureSampler.h |
|
|
void UpdateDisplayTextureArrayIndex() |
Elements/PCGTextureSampler.h |
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/PCGTextureSampler.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/PCGTextureSampler.h | |
virtual TArray< FPCGPinProperties > OutputPinProperties() |
Elements/PCGTextureSampler.h |