Ray
-
class
cee.Ray() A 3d ray used, for example, for picking on the 3D model.
Constructors
Accessors
-
cee.Ray.direction() - get direction():
Vec3LikeThe direction vector of the ray in world coordinates.
Returns:
Vec3Likeset direction(direction:Vec3Like): voidParameters
direction:Vec3LikeReturns: void
-
cee.Ray.origin() - get origin():
Vec3LikeThe origin of the ray in world coordinates.
Returns:
Vec3Likeset origin(origin:Vec3Like): voidParameters
origin:Vec3LikeReturns: void
Methods
-
cee.Ray.planeIntersect() -
Returns the intersection point of this ray with the given plane, or null if no intersection.
Parameters
plane:PlaneReturns:
Vec3Like