Ray
- class cee.Ray()
 A 3d ray used, for example, for picking on the 3D model.
Constructors
Methods
Constructors
constructor
- cee.Ray.constructor(origin, direction)
 Creates a Ray object
- Arguments
 origin (
cee.Vec3Like) –direction (
cee.Vec3Like) –
- Return type
 cee.Ray
Accessors
- cee.Ray.direction
 The direction vector of the ray in world coordinates.
- cee.Ray.origin
 The origin of the ray in world coordinates.
Methods
clone
- cee.Ray.clone()
 Returns a clone of the ray.
- Return type
 cee.Ray
pointDistanceSquared
- cee.Ray.pointDistanceSquared(point)
 Returns the squared distance from the point to the ray
- Arguments
 point (
cee.Vec3Like) –
- Return type
 number