Navigation
API > API/Plugins > API/Plugins/PCG
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/PCGCommon.h |
| Include | #include "PCGCommon.h" |
Syntax
enum EPCGDataType
&123;
None = 0,
Point = 1 << 1,
Spline = 1 << 2,
LandscapeSpline = 1 << 3,
PolyLine = Spline | LandscapeSpline,
Landscape = 1 << 4,
Texture = 1 << 5,
RenderTarget = 1 << 6,
BaseTexture = Texture | RenderTarget,
Surface = Landscape | BaseTexture,
Volume = 1 << 7,
Primitive = 1 << 8,
Concrete = Point | PolyLine | Surface | Volume | Primitive,
Composite = 1 << 9,
Spatial = Composite | Concrete,
Param = 1 << 27,
Settings = 1 << 28,
Other = 1 << 29,
Any = (1 << 30) - 1,
&125;
Values
| Name | Description |
|---|---|
| None | |
| Point | |
| Spline | |
| LandscapeSpline | |
| PolyLine | |
| Landscape | |
| Texture | |
| RenderTarget | |
| BaseTexture | |
| Surface | |
| Volume | |
| Primitive | |
| Concrete | Simple concrete data. |
| Composite | Boolean operations like union, difference, intersection. |
| Spatial | Combinations of concrete data and/or boolean operations. |
| Param | |
| Settings | |
| Other | |
| Any |
Remarks
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.