RayCastInput

data class RayCastInput(val origin: Vec2, val translation: Vec2, val maxFraction: Float = 1.0f)

Low-level ray cast input data for local geometry queries.

Parameters

origin

Start point of the ray

translation

Translation of the ray (direction and length)

maxFraction

The maximum fraction of the translation to consider (typically 1.0)

Constructors

Link copied to clipboard
constructor(origin: Vec2, translation: Vec2, maxFraction: Float = 1.0f)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard