Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGTextureSamplerSettings
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGTextureSampler.h |
| Include | #include "Elements/PCGTextureSampler.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGTextureSamplerSettings : public UPCGSettings
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bDisplayTextureArrayIndex | Used to hide the 'TextureArrayIndex' property. | |
| bool | bForceEditorOnlyCPUSampling | 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). | |
| bool | bSynchronousLoad | By default, texture loading is asynchronous, can force it synchronous if needed. | |
| bool | bUseAbsoluteTransform | ||
| bool | bUseAdvancedTiling | Whether to tile the source or to stretch it to fit target area. | |
| PRAGMA_ENABLE_DEPRECATION_WARNINGS bool | bUseDensitySourceChannel | ||
| bool | bUseTileBounds | ||
| FVector2D | CenterOffset | ||
| EPCGTextureColorChannel | ColorChannel | ||
| PRAGMA_DISABLE_DEPRECATION_WARNINGS EPCGTextureDensityFunction | DensityFunction | ||
| EPCGTextureFilter | Filter | Method used to determine the value for a sample based on the value of nearby texels. | |
| float | Rotation | Rotation to apply when sampling texture. | |
| float | TexelSize | The size of one texel in cm, used when calling ToPointData. | |
| TSoftObjectPtr< UTexture > | Texture | Texture specific parameters | |
| int | TextureArrayIndex | Index of texture array slice. | |
| FVector2D | TileBoundsMax | ||
| FVector2D | TileBoundsMin | ||
| FVector2D | Tiling | ||
| FTransform | Transform | Surface transform |
Functions
| Type | Name | Description | |
|---|---|---|---|
| PRAGMA_DISABLE_DEPRECATION_WARNINGS EPCGTextureDensityFunction | |||
| TSoftObjectPtr< UTexture > | GetTexture () |
||
| void | SetDensityFunctionEquivalent
(
EPCGTextureDensityFunction DensityFunction |
||
| void | SetTexture
(
TSoftObjectPtr< UTexture > InTexture |
||
| void |
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| bool | Derived classes must implement this to communicate that they might have dynamic dependencies. | ||
| FPCGElementPtr | |||
| FName | |||
| FText | |||
| FText | |||
| void | GetStaticTrackedKeys
(
FPCGSelectionKeyToSettingsMap& OutKeysToSettings, |
Derived classes must implement this to communicate dependencies that are known statically. | |
| 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 | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | PostLoad () |