Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Data
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPCGData
- UPCGSpatialData
- UPCGSpatialDataWithPointCache
- UPCGSurfaceData
- UPCGWorldRayHitData
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 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 () |
||
| FBox | GetBounds () |
Returns the full bounds (including density fall-off) of the data | |
| 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. |