Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGWorldRaycastElementSettings
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGWorldRaycast.h |
| Include | #include "Elements/PCGWorldRaycast.h" |
Syntax
UCLASS (BlueprintType, ClassGroup=(Procedural))
class UPCGWorldRaycastElementSettings : public UPCGSettings
Remarks
Casts rays from provided points along a given direction and transform points to the impact point.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bKeepOriginalPointOnMiss | Will keep the original points at their location if the raycast misses or if the hit result is out of bounds. | |
| bool | bOverrideRayDirections | Use a selected attribute as the ray direction. | |
| bool | bOverrideRayLengths | Use a selected attribute as the ray length. | |
| bool | bUnbounded | If no Bounding Shape input is provided, the actor bounds are used to limit the sample generation domain. | |
| FPCGAttributePropertyInputSelector | EndPointAttribute | The selected attribute determines the ray terminal point. | |
| FPCGAttributePropertyInputSelector | OriginInputAttribute | The selected attribute determines the ray origin. | |
| EPCGWorldRaycastMode | RaycastMode | Determines how the ray's direction and distance will be calculated. | |
| FVector | RayDirection | A ray direction that will be used for all raycasts. | |
| FPCGAttributePropertyInputSelector | RayDirectionAttribute | The selected attribute determines the ray direction. | |
| double | RayLength | A ray length that will be used for all raycasts. | |
| FPCGAttributePropertyInputSelector | RayLengthAttribute | The selected attribute determines the ray length. | |
| FPCGWorldRaycastQueryParams | WorldQueryParams | World ray trace parameters. |
Constructors
No constructors are accessible with public or protected access.
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| FPCGElementPtr | |||
| FName | |||
| FText | |||
| FText | |||
| EPCGSettingsType | GetType () |
||
| TArray< FPCGPinProperties > | Returns an array of all the input pin properties. You should not add manually a "params" pin, it is handled automatically by FillOverridableParamsPins. | ||
| TArray< FPCGPinProperties > |