Autodesk Creative Platform Core Version 1.19.0
A broad and deep collection of 2D and 3D capabilities.

Ray3D Overview

Implements Interfaces: IDebuggable

A 3D Ray.

Introduced in Version: 1.6.0

Class Member Summary

Class Member Details

• Ray3D (origin, direction) | Constructor

The following parameters can be specified in the constructor:
  • origin: Point3D - The origin of the ray.
  • direction: Vector3D - The direction of the ray, which should be a normalized unit vector.

• clone()

Clones the Ray3D.

• debug()

Instructs the object to present useful debugging information via a series of calls to Debug.point, Debug.line and Debug.triangles.

Vector3D direction

The direction of the ray.

Point3D origin

The origin of the ray.