unreal.PCGData¶
- class unreal.PCGData(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectBase 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:
- duplicate_data(context, initialize_metadata=True) -> (PCGData, context=PCGContext)¶
Prefer using DuplicateDataWithContext
- Parameters:
context (PCGContext)
initialize_metadata (bool)
- Returns:
context (PCGContext):
- Return type:
- duplicate_data_with_context(context_handle, initialize_metadata=True) PCGData¶
Return a copy of the data, with Metadata inheritance for spatial data.
- Parameters:
context_handle (PCGBlueprintContextHandle)
initialize_metadata (bool)
- Return type:
- mutable_metadata() PCGMetadata¶
Mutable Metadata
- Return type: