Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Data
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPCGData
- UPCGSpatialData
- UPCGSpatialDataWithPointCache
- UPCGVolumeData
- UPCGWorldVolumetricData
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Data/PCGWorldData.h |
| Include | #include "Data/PCGWorldData.h" |
Syntax
UCLASS&40;BlueprintType, ClassGroup&61;&40;Procedural&41;&41;
class UPCGWorldVolumetricData : public UPCGVolumeData
Remarks
Queries volume for presence of world collision or not. Can be used to voxelize environment.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TWeakObjectPtr< UPCGComponent > | OriginatingComponent | ||
| FPCGWorldVolumetricQueryParams | QueryParams | ||
| TWeakObjectPtr< UWorld > | World |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Initialize
(
UWorld* InWorld, |
Overridden from UPCGSpatialDataWithPointCache
| Type | Name | Description | |
|---|---|---|---|
| const UPCGPointData * | CreatePointData
(
FPCGContext* Context |
||
| const UPCGPointData * | CreatePointData
(
FPCGContext* Context, |
||
| bool |
Overridden from UPCGSpatialData
| Type | Name | Description | |
|---|---|---|---|
| UPCGSpatialData * | CopyInternal () |
TODO not sure what this would mean. | |
| bool | IsBounded () |
Returns whether a given spatial data is bounded as some data types do not require bounds by themselves | |
| bool | SamplePoint
(
const FTransform& Transform, |
Sample rotation, scale and other attributes from this data at the query position. |