Navigation
API > API/Plugins > API/Plugins/PCG
Executes collision queries against world collision.
| Name | UPCGWorldRayHitData |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGWorldData.h |
| Include Path | #include "Data/PCGWorldData.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGWorldRayHitData : public UPCGSurfaceData
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSpatialData → UPCGSpatialDataWithPointCache → UPCGSurfaceData → UPCGWorldRayHitData
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorFilter | FPCGWorldQueryActorFilterCache | Data/PCGWorldData.h | ||
| Bounds | FBox | Data/PCGWorldData.h | ||
| CachedLandscapeLayerNames | TSet< FName > | Attributes related to landscape layers are added when we initialize the target metadata, so we need to cache them when this data gets initialized. | Data/PCGWorldData.h | |
| CollisionShape | FPCGCollisionShape | Parameters for either using a line trace or specifying a collision shape for a sweep. | Data/PCGWorldData.h |
|
| OriginatingComponent | TWeakObjectPtr< UPCGComponent > | Data/PCGWorldData.h | ||
| QueryParams | FPCGWorldRayHitQueryParams | Data/PCGWorldData.h |
|
|
| World | TWeakObjectPtr< UWorld > | Data/PCGWorldData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Initialize
(
UWorld* InWorld, |
World Ray Hit data implementation | Data/PCGWorldData.h |
Overridden from UPCGSpatialDataWithPointCache
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const UPCGPointArrayData * CreatePointArrayData
(
FPCGContext* Context, |
Data/PCGWorldData.h | ||
virtual const UPCGPointData * CreatePointData
(
FPCGContext* Context |
Data/PCGWorldData.h | ||
virtual const UPCGPointData * CreatePointData
(
FPCGContext* Context, |
Data/PCGWorldData.h | ||
virtual bool SupportsBoundedPointData() |
Data/PCGWorldData.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/PCGWorldData.h | |
virtual FVector GetNormal() |
Returns the expected data normal (for surfaces) or eventual projection axis (for volumes) | Data/PCGWorldData.h | |
virtual FBox GetStrictBounds() |
Returns the bounds in which the density is always 1 | Data/PCGWorldData.h | |
virtual bool HasNonTrivialTransform() |
Returns true if the data has a non-trivial transform | Data/PCGWorldData.h | |
virtual void InitializeTargetMetadata
(
const FPCGInitializeFromDataParams& InParams, |
Initialize another metadata from this data. | Data/PCGWorldData.h | |
virtual bool IsBounded() |
Returns whether a given spatial data is bounded as some data types do not require bounds by themselves | Data/PCGWorldData.h | |
virtual bool SamplePoint
(
const FTransform& Transform, |
Sample rotation, scale and other attributes from this data at the query position. | Data/PCGWorldData.h |
Overridden from UPCGData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddToCrc
(
FArchiveCrc32& Ar, |
Adds this data to Crc. | Data/PCGWorldData.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const UPCGBasePointData * CreateBasePointData
(
FPCGContext* Context, |
Data/PCGWorldData.h |
Overridden from UPCGSpatialData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UPCGSpatialData * CopyInternal
(
FPCGContext* Context |
Data/PCGWorldData.h |