Version 0.60.0
open

ray

A geometric ray in 3D space.

Signatures

  •   ray( vector origin, vector dir )

Details

A ray starts at its origin point and extends along its direction vector.

Rays can be used to sample a solid's surface by using the probe function.

Casts To

string

Members

vector origin

Allows to read/write the origin of the ray.

vector dir

Allows to read/write the direction of the ray.

Optional Open Parameter Attributes

bool readonly

Tells the user interface or frontend to disable the setting of the open parameter.

string style

Specifies some limited styling instructions for the user interface or frontend.

int expose_opar

Controls the visibility state of the open parameter. Possible values are -1 (do not expose), 0 (expose when requested) and +1 (expose).

Parameters

origin

The origin point in 3d space.

dir

The direction vector.

See also

🗙

Search results for