Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Data
Inheritance Hierarchy
- FPCGWorldCommonQueryParams
- FPCGWorldRaycastQueryParams
- FPCGWorldRayHitQueryParams
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGWorldData.h |
| Include | #include "Data/PCGWorldData.h" |
Syntax
USTRUCT (BlueprintType )
struct FPCGWorldRaycastQueryParams : public FPCGWorldCommonQueryParams
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 = false | bApplyMetadataFromLandscape | Will apply landscape layers and their values at the impact point. | |
| uint8: 1 = false | bGetDistance | Create an attribute for the distance between the ray origin and the impact point. | |
| uint8: 1 = false | bGetElementIndex | Create an attribute for the index of the element hit. Unique to the hit primitive. | |
| uint8: 1 = false | bGetFaceIndex | Create an attribute for index of the hit face. Note: Will only work in complex traces. | |
| uint8: 1 = false | bGetImpact | Create an attribute for whether the raycast resulted in a hit. | |
| uint8: 1 = false | bGetImpactNormal | Create an attribute for the impact normal. | |
| uint8: 1 = false | bGetImpactPoint | Create an attribute for the impact location in world space. | |
| uint8: 1 = false | bGetLocalImpactPoint | Create an attribute for the impact point in the hit object's local space. | |
| uint8: 1 = false | bGetReferenceToRenderMaterial | Create an attribute for the render material. | |
| uint8: 1 = false | bGetReferenceToStaticMesh | Create an attribute for the static mesh. | |
| uint8: 1 = false | bGetReflection | Create an attribute for the reflection vector based on the ray incoming direction and the impact normal. | |
| uint8: 1 = false | bGetUVCoords | Create an attribute for UV Coordinates of the surface hit. | |
| uint8: 1 = false | bIgnoreBackfaceHits | Ignore rays that hit backfaces. | |
| int32 | RenderMaterialIndex | The index of the render material when it is queried from the hit. | |
| int32 | UVChannel | This UV Channel will be selected when retrieving UV Coordinates from a raycast query. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Initialize () |
||
| void | PostSerialize
(
const FArchive& Ar |