unreal.PCGData

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

Bases: Object

Base class for any “data” class in the PCG framework. This is an intentionally vague base class so we can have the required flexibility to pass in various concrete data types, settings, and more.

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGData.h

const_metadata() PCGMetadata

Metadata ops, to be implemented if data supports Metadata

Return type:

PCGMetadata

duplicate_data(context, initialize_metadata=True) -> (PCGData, context=PCGContext)

Prefer using DuplicateDataWithContext

Parameters:
Returns:

context (PCGContext):

Return type:

PCGContext

duplicate_data_with_context(context_handle, initialize_metadata=True) PCGData

Return a copy of the data, with Metadata inheritance for spatial data.

Parameters:
Return type:

PCGData

mutable_metadata() PCGMetadata

Mutable Metadata

Return type:

PCGMetadata