Ray class

Ray, ray for raycasting.

Constructors

Ray({Vector3? position, Vector3? direction})
Ray, ray for raycasting.
Ray.fromRef(Ray ref)
Construct Ray from native reference.

Properties

direction Vector3
Ray direction.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pointer Pointer<Ray>?
Native pointer, used internally.
final
position Vector3
Ray position (origin).
getter/setter pair
ref ↔ Ray
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