unreal.PCGBaseTextureData

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

Bases: PCGSurfaceData

PCGBase Texture Data

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGTextureData.h

Editor Properties: (see get_editor_property/set_editor_property)

  • bounds (Box): [Read-Only]

  • center_offset (Vector2D): [Read-Write]

  • color_channel (PCGTextureColorChannel): [Read-Write]

  • density_function (PCGTextureDensityFunction): [Read-Only]

  • filter (PCGTextureFilter): [Read-Write] Method used to determine the value for a sample based on the value of nearby texels.

  • height (int32): [Read-Only]

  • keep_zero_density_points (bool): [Read-Write]

  • metadata (PCGMetadata): [Read-Only] Not accessible through blueprint to make sure the constness is preserved

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

  • target_actor (Actor): [Read-Write] Recipient of any artifacts generated using this data.

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

  • tile_bounds (Box2D): [Read-Write]

  • tiling (Vector2D): [Read-Write]

  • transform (Transform): [Read-Only]

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

  • use_tile_bounds (bool): [Read-Write]

  • width (int32): [Read-Only]

property bounds: Box

[Read-Only]

Type:

(Box)

property center_offset: Vector2D

[Read-Write]

Type:

(Vector2D)

property color_channel: PCGTextureColorChannel

[Read-Write]

Type:

(PCGTextureColorChannel)

property density_function: PCGTextureDensityFunction

[Read-Only]

Type:

(PCGTextureDensityFunction)

property filter: PCGTextureFilter

[Read-Write] Method used to determine the value for a sample based on the value of nearby texels.

Type:

(PCGTextureFilter)

property height: int

[Read-Only]

Type:

(int32)

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 tile_bounds: Box2D

[Read-Write]

Type:

(Box2D)

property tiling: Vector2D

[Read-Write]

Type:

(Vector2D)

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)

property width: int

[Read-Only]

Type:

(int32)