Getting Started
Tutorials
Programming Guide
API References
Additional Resources
Object representing a Ray.
Constructors
constructor()
Properties
direction
origin
Methods
assign()
copy()
negate()
origin (Point3()) – optional
Point3()
direction (Point3()) – optional
Ray()
Sets this ray equal to another ray
ray (Ray()) – the ray to assign
Creates a copy of this ray
a copy of this ray object
Flips the ray’s direction.