unreal.GeometryScriptRayHitResult

class unreal.GeometryScriptRayHitResult(hit: bool = False, ray_parameter: float = 0.0, hit_triangle_id: int = 0, hit_position: Vector = Ellipsis, hit_bary_coords: Vector = Ellipsis)

Bases: StructBase

Geometry Script Ray Hit Result

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingCore

  • File: MeshSpatialFunctions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • hit (bool): [Read-Write]

  • hit_bary_coords (Vector): [Read-Write]

  • hit_position (Vector): [Read-Write]

  • hit_triangle_id (int32): [Read-Write]

  • ray_parameter (float): [Read-Write]

property hit: bool

[Read-Write]

Type:

(bool)

property hit_bary_coords: Vector

[Read-Write]

Type:

(Vector)

property hit_position: Vector

[Read-Write]

Type:

(Vector)

property hit_triangle_id: int

[Read-Write]

Type:

(int32)

property ray_parameter: float

[Read-Write]

Type:

(float)