unreal.PCGDataType

class unreal.PCGDataType

Bases: EnumBase

Bitmask containing the various data types supported in PCG. Note that this enum cannot be a blueprint type because enums have to be uint8 for blueprint, and we already use more than 8 bits in the bitmask. This is why we have a parallel enum just below that must match on a name basis 1:1 to allow the make/break functions to work properly in blueprint. WARNING: Please be mindful that combination of flags that are not explicitly defined there won’t be serialized correctly, inducing data loss.

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGCommon.h

ANY: PCGDataType

1073741823

CONCRETE: PCGDataType

Simple concrete data.

Type:

510

LANDSCAPE: PCGDataType

16

LANDSCAPE_SPLINE: PCGDataType

8

OTHER: PCGDataType

536870912

PARAM: PCGDataType

134217728

POINT: PCGDataType

2

POINT_OR_PARAM: PCGDataType

Combination of Param and Point, necessary for named-based serialization of enums.

Type:

134217730

POLY_LINE: PCGDataType

12

PRIMITIVE: PCGDataType

256

RENDER_TARGET: PCGDataType

64

SPATIAL: PCGDataType

Combinations of concrete data and/or boolean operations.

Type:

1022

SPLINE: PCGDataType

4

SURFACE: PCGDataType

112

TEXTURE: PCGDataType

32

VOLUME: PCGDataType

128