RayCollision class

RayCollision, ray hit information.

Constructors

RayCollision.fromRef(RayCollision ref)
RayCollision, ray hit information.

Properties

distance double
Distance to nearest hit.
no setter
hashCode int
The hash code for this object.
no setterinherited
hit int
Did the ray hit something?
no setter
normal Vector3
Surface normal of hit.
no setter
point Vector3
Point of nearest hit.
no setter
ref ↔ RayCollision
Native reference.
latefinalinherited
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