Navigation
API > API/Plugins > API/Plugins/PCG
| Name | FPCGWorldRaycastQueryParams |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGWorldData.h |
| Include Path | #include "Data/PCGWorldData.h" |
Syntax
USTRUCT (BlueprintType )
struct FPCGWorldRaycastQueryParams : public FPCGWorldCommonQueryParams
Inheritance Hierarchy
- FPCGWorldCommonQueryParams → FPCGWorldRaycastQueryParams
Derived Classes
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bApplyMetadataFromLandscape | uint8 | Will apply landscape layers and their values at the impact point. | Data/PCGWorldData.h |
|
| bGetDistance | uint8 | Create an attribute for the distance between the ray origin and the impact point. | Data/PCGWorldData.h |
|
| bGetElementIndex | uint8 | Create an attribute for the index of the element hit. Unique to the hit primitive. | Data/PCGWorldData.h |
|
| bGetFaceIndex | uint8 | Create an attribute for index of the hit face. Note: Will only work in complex traces. | Data/PCGWorldData.h |
|
| bGetImpact | uint8 | Create an attribute for whether the raycast resulted in a hit. | Data/PCGWorldData.h |
|
| bGetImpactNormal | uint8 | Create an attribute for the impact normal. | Data/PCGWorldData.h |
|
| bGetImpactPoint | uint8 | Create an attribute for the impact location in world space. | Data/PCGWorldData.h |
|
| bGetLocalImpactPoint | uint8 | Create an attribute for the impact point in the hit object's local space. | Data/PCGWorldData.h |
|
| bGetReferenceToRenderMaterial | uint8 | Create an attribute for the render material. | Data/PCGWorldData.h |
|
| bGetReferenceToStaticMesh | uint8 | Create an attribute for the static mesh. | Data/PCGWorldData.h |
|
| bGetReflection | uint8 | Create an attribute for the reflection vector based on the ray incoming direction and the impact normal. | Data/PCGWorldData.h |
|
| bGetRenderMaterialIndex | uint8 | The index of the render material to query when a primitive is hit. | Data/PCGWorldData.h |
|
| bGetSectionIndex | uint8 | Create an attribute for the index of the section hit. Currently only works for Static Meshes. | Data/PCGWorldData.h |
|
| bGetUVCoords | uint8 | Create an attribute for UV Coordinates of the surface hit. | Data/PCGWorldData.h |
|
| bIgnoreBackfaceHits | uint8 | Ignore rays that hit backfaces. | Data/PCGWorldData.h |
|
| bUseRenderMaterialIndex | uint8 | Retrieve the material index explicitly. | Data/PCGWorldData.h |
|
| RenderMaterialIndex | int32 | Define the index of the render material to retrieve when a primitive is hit. | Data/PCGWorldData.h |
|
| UVChannel | int32 | This UV Channel will be selected when retrieving UV Coordinates from a raycast query. | Data/PCGWorldData.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Initialize() |
Data/PCGWorldData.h | ||
void PostSerialize
(
const FArchive& Ar |
Data/PCGWorldData.h | ||
FCollisionQueryParams ToCollisionQuery() |
Helper function to ensure cohesive conversion of FPCGWorldRaycastQueryParams->FCollisionQueryParams. | Data/PCGWorldData.h |