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 = Ellipsis

1073741823

BASE_TEXTURE: PCGDataType = Ellipsis

Common base type for both textures and render targets.

Type:

96

CONCRETE: PCGDataType = Ellipsis

Simple concrete data.

Type:

5630

DYNAMIC_MESH: PCGDataType = Ellipsis

1024

LANDSCAPE: PCGDataType = Ellipsis

16

LANDSCAPE_SPLINE: PCGDataType = Ellipsis

8

OTHER: PCGDataType = Ellipsis

536870912

PARAM: PCGDataType = Ellipsis

134217728

POINT: PCGDataType = Ellipsis

2

POINT_OR_PARAM: PCGDataType = Ellipsis

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

Type:

134217730

POLY_LINE: PCGDataType = Ellipsis

12

PRIMITIVE: PCGDataType = Ellipsis

256

RENDER_TARGET: PCGDataType = Ellipsis

64

SPATIAL: PCGDataType = Ellipsis

Combinations of concrete data and/or boolean operations.

Type:

6142

SPLINE: PCGDataType = Ellipsis

4

STATIC_MESH_RESOURCE: PCGDataType = Ellipsis

2048

SURFACE: PCGDataType = Ellipsis

4208

TEXTURE: PCGDataType = Ellipsis

32

VIRTUAL_TEXTURE: PCGDataType = Ellipsis

VirtualTexture is not a subtype of BaseTexture because they share no common functionality, particularly with respect to sampling.

Type:

4096

VOLUME: PCGDataType = Ellipsis

128