unreal.PCGWorldRayHitData

class unreal.PCGWorldRayHitData(outer: Object | None = None, name: Name | str = 'None')

Bases: PCGSurfaceData

Executes collision queries against world collision.

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGWorldData.h

Editor Properties: (see get_editor_property/set_editor_property)

  • collision_shape (PCGCollisionShape): [Read-Write] Parameters for either using a line trace or specifying a collision shape for a sweep.

  • keep_zero_density_points (bool): [Read-Write]

  • local_bounds (Box): [Read-Only]

  • query_params (PCGWorldRayHitQueryParams): [Read-Write]

  • target_actor (Actor): [Read-Write] Recipient of any artifacts generated using this data.

  • transform (Transform): [Read-Only]

property collision_shape: PCGCollisionShape

[Read-Write] Parameters for either using a line trace or specifying a collision shape for a sweep.

Type:

(PCGCollisionShape)

property query_params: PCGWorldRayHitQueryParams

[Read-Write]

Type:

(PCGWorldRayHitQueryParams)