unreal.PCGTextureSamplerSettings

class unreal.PCGTextureSamplerSettings(outer: Object | None = None, name: Name | str = 'None')

Bases: PCGSettings

PCGTexture Sampler Settings

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGTextureSampler.h

Editor Properties: (see get_editor_property/set_editor_property)

  • category (Text): [Read-Write]

  • center_offset (Vector2D): [Read-Write]

  • color_channel (PCGTextureColorChannel): [Read-Write]

  • debug (bool): [Read-Write]

  • debug_settings (PCGDebugVisualizationSettings): [Read-Write]

  • density_function (PCGTextureDensityFunction): [Read-Only] Common members in BaseTextureData

  • description (Text): [Read-Write]

  • determinism_settings (PCGDeterminismSettings): [Read-Write]

  • enabled (bool): [Read-Write]

  • expose_to_library (bool): [Read-Write]

  • filter_on_tags (Set[str]): [Read-Write] Warning - this is deprecated and will be removed soon since we have a Filter By Tag node for this specific purpose

  • pass_through_filtered_out_inputs (bool): [Read-Write] Warning - this is deprecated and will be removed soon since we have a Filter By Tag node for this specific purpose

  • rotation (float): [Read-Write] Rotation to apply when sampling texture.

  • seed (int32): [Read-Write]

  • tags_applied_on_output (Set[str]): [Read-Write] Applies the specified tags on the output data. Note - this might be replaced by a dedicated Tagging node

  • texel_size (float): [Read-Write] The size of one texel in cm, used when calling ToPointData.

  • texture (Texture2D): [Read-Write] Texture specific parameters

  • tile_bounds_max (Vector2D): [Read-Write]

  • tile_bounds_min (Vector2D): [Read-Write]

  • tiling (Vector2D): [Read-Write]

  • transform (Transform): [Read-Write] Surface transform

  • use_absolute_transform (bool): [Read-Write]

  • use_advanced_tiling (bool): [Read-Write] Whether to tile the source or to stretch it to fit target area.

  • use_seed (bool): [Read-Only] By default, settings won’t use a seed. Set this bool to true in the child ctor to allow edition and use it.

  • use_tile_bounds (bool): [Read-Write]

property center_offset: Vector2D

[Read-Write]

Type:

(Vector2D)

property color_channel: PCGTextureColorChannel

[Read-Write]

Type:

(PCGTextureColorChannel)

property density_function: PCGTextureDensityFunction

[Read-Only] Common members in BaseTextureData

Type:

(PCGTextureDensityFunction)

property rotation: float

[Read-Write] Rotation to apply when sampling texture.

Type:

(float)

property texel_size: float

[Read-Write] The size of one texel in cm, used when calling ToPointData.

Type:

(float)

property texture: Texture2D

[Read-Write] Texture specific parameters

Type:

(Texture2D)

property tile_bounds_max: Vector2D

[Read-Write]

Type:

(Vector2D)

property tile_bounds_min: Vector2D

[Read-Write]

Type:

(Vector2D)

property tiling: Vector2D

[Read-Write]

Type:

(Vector2D)

property transform: Transform

[Read-Write] Surface transform

Type:

(Transform)

property use_absolute_transform: bool

[Read-Write]

Type:

(bool)

property use_advanced_tiling: bool

[Read-Write] Whether to tile the source or to stretch it to fit target area.

Type:

(bool)

property use_tile_bounds: bool

[Read-Write]

Type:

(bool)