Navigation
API > API/Plugins > API/Plugins/PCG
| Name | UPCGCollisionWrapperData |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGCollisionWrapperData.h |
| Include Path | #include "Data/PCGCollisionWrapperData.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGCollisionWrapperData : public UPCGSpatialData
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSpatialData → UPCGCollisionWrapperData
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedShapes | TArray< PhysicsInterfaceTypes::FInlineShapeArray > | Data/PCGCollisionWrapperData.h | ||
| CollisionQueryFlag | EPCGCollisionQueryFlag | Data/PCGCollisionWrapperData.h | ||
| CollisionSelector | FPCGAttributePropertyInputSelector | Implementation note: in order to be able to duplicate this easily, we're keeping track of the arguments we used when calling Initialize (& derived functions) | Data/PCGCollisionWrapperData.h | |
| CollisionWrapper | FPCGCollisionWrapper | Data/PCGCollisionWrapperData.h | ||
| PointData | TObjectPtr< const UPCGBasePointData > | Data/PCGCollisionWrapperData.h | ||
| RawPointData | const UPCGBasePointData * | Data/PCGCollisionWrapperData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void FinalizeInitializationEx
(
const TArray< FSoftObjectPath >& InMeshPaths |
Data/PCGCollisionWrapperData.h | ||
bool Initialize
(
const UPCGBasePointData* InPointData, |
Inititializes the collision wrapper on a point data based on the provided attribute selector | Data/PCGCollisionWrapperData.h | |
bool PreInitializeAndGatherMeshesEx
(
const UPCGBasePointData* InPointData, |
Advanced API for async loading | Data/PCGCollisionWrapperData.h |
Overridden from UPCGSpatialData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FBox GetBounds() |
Returns the full bounds (including density fall-off) of the data | Data/PCGCollisionWrapperData.h | |
virtual int GetDimension() |
Returns the dimension of the data type, which has nothing to do with the dimension of its points | Data/PCGCollisionWrapperData.h | |
virtual FBox GetStrictBounds() |
Returns the bounds in which the density is always 1 | Data/PCGCollisionWrapperData.h | |
virtual bool SamplePoint
(
const FTransform& Transform, |
Sample rotation, scale and other attributes from this data at the query position. | Data/PCGCollisionWrapperData.h | |
virtual const UPCGPointArrayData * ToPointArrayData
(
FPCGContext* Context, |
Data/PCGCollisionWrapperData.h | ||
virtual const UPCGPointData * ToPointData
(
FPCGContext* Context, |
Data/PCGCollisionWrapperData.h |
Overridden from UPCGData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddToCrc
(
FArchiveCrc32& Ar, |
Adds this data to Crc. | Data/PCGCollisionWrapperData.h | |
virtual FPCGCrc ComputeCrc
(
bool bFullDataCrc |
Computes Crc for this and any connected data. | Data/PCGCollisionWrapperData.h | |
virtual EPCGDataType GetDataType() |
Data/PCGCollisionWrapperData.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Data/PCGCollisionWrapperData.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const UPCGBasePointData * GetPointData() |
For performance reasons, we keep a raw pointer to the point data in editor. | Data/PCGCollisionWrapperData.h |
Overridden from UPCGSpatialData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UPCGSpatialData * CopyInternal
(
FPCGContext* Context |
Data/PCGCollisionWrapperData.h |