Ray

open external class Ray(var origin: Cartesian3 = definedExternally, var direction: Cartesian3 = definedExternally)(source)

Represents a ray that extends infinitely from the provided origin in the provided direction.

See also

Constructors

Link copied to clipboard
constructor(origin: Cartesian3 = definedExternally, direction: Cartesian3 = definedExternally)

Types

Link copied to clipboard
external object Companion

Properties

Link copied to clipboard
external var direction: Cartesian3

The direction of the ray. Default value - Cartesian3.ZERO

Link copied to clipboard
external var origin: Cartesian3

The origin of the ray. Default value - Cartesian3.ZERO