Ray

class Communicator.Ray()

Object representing a Ray.

Constructors

Properties


Constructors

constructor

Communicator.Ray.constructor(origin, direction)
Arguments
Return type

Communicator.Ray

Properties

Communicator.Ray.direction
Communicator.Ray.origin

Methods

assign

Communicator.Ray.assign(ray)

Sets this ray equal to another ray

Arguments
Return type

Communicator.Ray

copy

Communicator.Ray.copy()

Creates a copy of this ray

Return type

Communicator.Ray

Returns

a copy of this ray object

negate

Communicator.Ray.negate()

Flips the ray’s direction.

Return type

Communicator.Ray