Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Data
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSpatialData
- UPCGSpatialDataWithPointCache
- UPCGSurfaceData
- UPCGWorldRayHitData
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGWorldData.h |
| Include | #include "Data/PCGWorldData.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGWorldRayHitData : public UPCGSurfaceData
Remarks
Executes collision queries against world collision.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FBox | Bounds | ||
| TWeakObjectPtr< UPCGComponent > | OriginatingComponent | ||
| FPCGWorldRayHitQueryParams | QueryParams | ||
| TWeakObjectPtr< UWorld > | World |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Initialize
(
UWorld* InWorld, |
World Ray Hit data implementation |
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
(
FPCGContext* Context |
||
| FBox | GetBounds () |
Returns the full bounds (including density fall-off) of the data | |
| FVector | GetNormal () |
Returns the expected data normal (for surfaces) or eventual projection axis (for volumes) | |
| FBox | Returns the bounds in which the density is always 1 | ||
| bool | Returns true if the data has a non-trivial transform | ||
| 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. |
Overridden from UPCGData
| Type | Name | Description | |
|---|---|---|---|
| void | AddToCrc
(
FArchiveCrc32& Ar, |
Adds this data to Crc. Fallback implementation writes object instance UID. |