QueryHit3D class final

A query's hit.

Constructors

QueryHit3D({required int body, required double fraction, required Vector3 point, required Vector3 normal, double depth = 0})
A hit on body.

Properties

body → int
The body hit.
final
depth → double
A sweep that starts inside or an overlap: how deep.
final
fraction → double
How far along the ray or sweep, 0–1; 0 for an overlap.
final
hashCode → int
The hash code for this object.
no setterinherited
normal → Vector3
The surface's normal there, facing the query.
final
point → Vector3
Where.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited