unreal.RigVMFunction_MathRayIntersectRay

class unreal.RigVMFunction_MathRayIntersectRay(a: Ray = Ellipsis, b: Ray = Ellipsis, result: Vector = Ellipsis, distance: float = 0.0, ratio_a: float = 0.0, ratio_b: float = 0.0)

Bases: RigVMFunction_MathRayBase

Returns the closest point intersection of a ray with another ray

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathRay.h

Editor Properties: (see get_editor_property/set_editor_property)

  • a (Ray): [Read-Write]

  • b (Ray): [Read-Write]

  • distance (float): [Read-Write]

  • ratio_a (float): [Read-Write]

  • ratio_b (float): [Read-Write]

  • result (Vector): [Read-Write]

property a: Ray

[Read-Write]

Type:

(Ray)

property b: Ray

[Read-Write]

Type:

(Ray)

property distance: float

[Read-Only]

Type:

(float)

property ratio_a: float

[Read-Only]

Type:

(float)

property ratio_b: float

[Read-Only]

Type:

(float)

property result: Vector

[Read-Only]

Type:

(Vector)