RayHit class
A voxel raycast hit: the cell, the face normal it was entered through, and the distance travelled to that face.
Constructors
Properties
- block → IVec3
-
The cell hit.
final
- distance → double
-
The ray parameter at that face: a distance when the direction is a unit vector.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- normal → IVec3
-
The normal of the face the ray entered through, one axis at ±1; zero when
the ray starts inside the block.
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited