JJ_Hit class final

A query hit.

Inheritance
Implemented types
Available extensions

Constructors

JJ_Hit()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
body ↔ int
The body hit.
getter/setter pair
depth ↔ double
Shape cast and overlap: penetration depth.
getter/setter pair
fraction ↔ double
Raycast and shape cast: how far along the cast, 0-1. Overlap: 0.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
normal ↔ Array<Float>
Surface normal at the hit, facing the query.
getter/setter pair
point ↔ Array<Float>
Where it was hit, in world space.
getter/setter pair
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.
inherited

Operators

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