Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Ray

Hierarchy

  • Ray

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new Ray(origin: Float32Array, direction: Float32Array): Ray

Properties

Private _direction

_direction: Float32Array = new Float32Array(3)

Private _origin

_origin: Float32Array = new Float32Array(3)

Accessors

direction

  • get direction(): Float32Array

origin

  • get origin(): Float32Array

Methods

getPoint

  • getPoint(distance: number, point?: Float32Array): Float32Array
  • Parameters

    • distance: number
    • Default value point: Float32Array = new Float32Array(3)

    Returns Float32Array

Generated using TypeDoc