unreal.PCGLoadDataAssetSettings

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

Bases: PCGSettings

Loader/Executor of PCG data assets

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGLoadAssetElement.h

Editor Properties: (see get_editor_property/set_editor_property)

  • asset (PCGDataAsset): [Read-Write]

  • asset_color (LinearColor): [Read-Only] Cached from the data when loaded

  • asset_description (Text): [Read-Only] Cached from the data when loaded

  • asset_name (str): [Read-Only] Cached from the data when loaded

  • break_debugger (bool): [Read-Write] If a debugger is attached, triggers a breakpoint inside IPCGElement::Execute(). Editor only. Transient.

  • category (Text): [Read-Write]

  • debug (bool): [Read-Write]

  • debug_settings (PCGDebugVisualizationSettings): [Read-Write]

  • description (Text): [Read-Write]

  • determinism_settings (PCGDeterminismSettings): [Read-Write]

  • enabled (bool): [Read-Write]

  • expose_to_library (bool): [Read-Write]

  • pins (Array[PCGPinProperties]): [Read-Only]

  • seed (int32): [Read-Write]

  • synchronous_load (bool): [Read-Write] By default, data table loading is asynchronous, can force it synchronous if needed.

  • tag_outputs_based_on_output_pins (bool): [Read-Only] Controls whether the data output from the loaded asset will be passed to the default pin with tags or on the proper pins.

  • 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.

  • warn_if_no_asset (bool): [Read-Write]

property asset: PCGDataAsset

[Read-Write]

Type:

(PCGDataAsset)

property asset_color: LinearColor

[Read-Only] Cached from the data when loaded

Type:

(LinearColor)

property asset_description: Text

[Read-Only] Cached from the data when loaded

Type:

(Text)

property asset_name: str

[Read-Only] Cached from the data when loaded

Type:

(str)

property pins: None

[Read-Only]

Type:

(Array[PCGPinProperties])

property synchronous_load: bool

[Read-Write] By default, data table loading is asynchronous, can force it synchronous if needed.

Type:

(bool)

property tag_outputs_based_on_output_pins: bool

[Read-Only] Controls whether the data output from the loaded asset will be passed to the default pin with tags or on the proper pins.

Type:

(bool)

property warn_if_no_asset: bool

[Read-Write]

Type:

(bool)