Lysa  0.0
Lysa 3D Engine
Ray Struct Reference

Detailed Description

A ray defined by an origin and direction, used for world-space intersection queries.

Lua full name: lysa.Ray

Properties

float3 origin
 Constructor: Ray(origin, direction)
 
float3 direction
 World-space direction of the ray. The vector length defines the maximum cast distance.
 

Property Documentation

float3 origin

Constructor: Ray(origin, direction)

float3 direction

World-space direction of the ray. The vector length defines the maximum cast distance.