sceneview-android
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
sceneview-android
SceneView Android - 3D
/
io.github.sceneview.collision
/
RayHit
Ray
Hit
open
class
RayHit
(
source
)
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
)