Ray class

Constructors

Ray([Vector3? origin, Vector3? direction])

Properties

direction ↔ Vector3
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
origin ↔ Vector3
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

at(double t, [Vector3? target]) → Vector3
intersectBox(AABB box, [Vector3? target]) → Vector3?
intersectsBox(AABB box) bool
intersectTriangle(Vector3 a, Vector3 b, Vector3 c, bool backfaceCulling, Vector3 target) → Vector3?
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