Logo


search API (or start typing anywhere)


RayCollision

differ.data.RayCollision

Ray collision intersection data, obtained by testing a shape and a ray.


class
meta: @:keep, @:publicFields


   

Members


end
end : Float
Distance along ray that the intersection ended at.
ray
ray : differ.shapes.Ray
The ray involved in the intersection.
shape
shape : differ.shapes.Shape
Shape the intersection was with.
start
start : Float
Distance along ray that the intersection start at.

Methods


clone
clone() : differ.data.RayCollision

copy_from

copy_from(other:differ.data.RayCollision) : Void

reset

reset() : differ.data.RayCollision