Skip to main content

vrray

Module: Maths

A ray.

#include <lua_api.h>

Public Functions​

TypeName
Anycopy()
(vrCopy) Returns a copy of a Vector, Matrix, Ray, Sphere, AABBox, Quaternion or Plane
Anyoperator=()

Public Attributes​

TypeName
vrvec3direction
Direction of the ray.
vrvec3origin
Start of the ray.

Public Functions Documentation​

copy​

Any copy()

(vrCopy) Returns a copy of a Vector, Matrix, Ray, Sphere, AABBox, Quaternion or Plane

operator=​

Any operator=()

Public Attributes Documentation​

direction​

vrvec3 direction;

Direction of the ray.

origin​

vrvec3 origin;

Start of the ray.