toggle menu
SceneView
androidJvm
switch theme
search in API
sceneview
/
io.github.sceneview.collision
/
RayHit
Ray
Hit
open
class
RayHit
Stores the results of ray intersection tests against various types of CollisionShape.
Inheritors
HitResult
Members
Constructors
Ray
Hit
Link copied to clipboard
constructor
(
)
Properties
distance
Link copied to clipboard
open
var
distance
:
Float
point
Link copied to clipboard
var
point
:
Vector3
Functions
get
World
Position
Link copied to clipboard
open
fun
getWorldPosition
(
)
:
Float3
Get the position in world-space where the ray hit the collision shape.
reset
Link copied to clipboard
open
fun
reset
(
)
set
Link copied to clipboard
open
fun
set
(
other
:
RayHit
)