Version 0.59.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.

Parameters

origin

The origin point in 3d space.

dir

The direction vector.

See also

🗙

Search results for