FRay2

public FVector2 Origin

Language: C#

The origin point of the ray.

public FVector2 Direction

Language: C#

The direction of the ray.

public float Length

Language: C#

The length of the ray.

public FRay2(FVector2 origin, FVector2 direction, float length = float.PositiveInfinity)

Language: C#

Initializes a new instance of the [] struct.

Parameters:

  • origin: The origin point of the ray.
  • direction: The direction of the ray.
  • length: The length of the ray.