unreal.PCGInitializeFromDataParams

class unreal.PCGInitializeFromDataParams(source: PCGSpatialData = Ellipsis, inherit_metadata: bool = False, inherit_attributes: bool = False, inherit_spatial_data: bool = False, domain_mapping: None = {})

Bases: StructBase

PCGInitialize from Data Params

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGSpatialData.h

Editor Properties: (see get_editor_property/set_editor_property)

  • domain_mapping (Map[PCGMetadataDomainID, PCGMetadataDomainID]): [Read-Write] When initializing metadata from different types, can provide an extra mapping to know how to initialize metadata across domains. If empty, will match with the same domains.

  • inherit_attributes (bool): [Read-Write]

  • inherit_metadata (bool): [Read-Write]

  • inherit_spatial_data (bool): [Read-Write]

  • source (PCGSpatialData): [Read-Write]

property domain_mapping: None

[Read-Write] When initializing metadata from different types, can provide an extra mapping to know how to initialize metadata across domains. If empty, will match with the same domains.

Type:

(Map[PCGMetadataDomainID, PCGMetadataDomainID])

property inherit_attributes: bool

[Read-Write]

Type:

(bool)

property inherit_metadata: bool

[Read-Write]

Type:

(bool)

property inherit_spatial_data: bool

[Read-Write]

Type:

(bool)

property source: PCGSpatialData

[Read-Write]

Type:

(PCGSpatialData)