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)

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

Parameters:
Returns:

context (PCGContext):

Return type:

PCGContext

mutable_metadata() PCGMetadata

Mutable Metadata

Return type:

PCGMetadata