unreal.PCGDifferenceData

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

Bases: PCGSpatialDataWithPointCache

PCGDifference Data

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGDifferenceData.h

Editor Properties: (see get_editor_property/set_editor_property)

  • density_function (PCGDifferenceDensityFunction): [Read-Write]

  • diff_metadata (bool): [Read-Only]

  • difference (PCGSpatialData): [Read-Only]

  • keep_zero_density_points (bool): [Read-Write]

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

  • source (PCGSpatialData): [Read-Only]

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

add_difference(difference) None

Add Difference

Parameters:

difference (PCGSpatialData) –

property density_function: PCGDifferenceDensityFunction

[Read-Write]

Type:

(PCGDifferenceDensityFunction)

property diff_metadata: bool

[Read-Only]

Type:

(bool)

property difference: PCGSpatialData

[Read-Only]

Type:

(PCGSpatialData)

initialize(data) None

Initialize

Parameters:

data (PCGSpatialData) –

set_density_function(density_function) None

Set Density Function

Parameters:

density_function (PCGDifferenceDensityFunction) –

property source: PCGSpatialData

[Read-Only]

Type:

(PCGSpatialData)