Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Data
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSpatialData
- UPCGCollisionWrapperData
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGCollisionWrapperData.h |
| Include | #include "Data/PCGCollisionWrapperData.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGCollisionWrapperData : public UPCGSpatialData
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | FinalizeInitializationEx
(
const TArray< FSoftObjectPath >& InMeshPaths |
||
| const UPCGPointData * | GetPointData () |
For performance reasons, we keep a raw pointer to the point data in editor. | |
| bool | Initialize
(
const UPCGPointData* InPointData, |
Inititializes the collision wrapper on a point data based on the provided attribute selector | |
| bool | PreInitializeAndGatherMeshesEx
(
const UPCGPointData* InPointData, |
Advanced API for async loading |
Overridden from UPCGSpatialData
| Type | Name | Description | |
|---|---|---|---|
| UPCGSpatialData * | CopyInternal
(
FPCGContext* Context |
||
| FBox | GetBounds () |
Returns the full bounds (including density fall-off) of the data | |
| int | GetDimension () |
Returns the dimension of the data type, which has nothing to do with the dimension of its points | |
| void | GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
||
| FBox | Returns the bounds in which the density is always 1 | ||
| bool | SamplePoint
(
const FTransform& Transform, |
Sample rotation, scale and other attributes from this data at the query position. | |
| const UPCGPointData * | ToPointData
(
FPCGContext* Context, |
Overridden from UPCGData
| Type | Name | Description | |
|---|---|---|---|
| void | AddToCrc
(
FArchiveCrc32& Ar, |
Adds this data to Crc. Fallback implementation writes object instance UID. | |
| FPCGCrc | ComputeCrc
(
bool bFullDataCrc |
Computes Crc for this and any connected data. | |
| EPCGDataType | GetDataType () |