![]() |
Lysa
0.0
Lysa 3D Engine
|
A scene camera that provides view and projection matrices.
Lua full name: lysa.Camera
Public Member Functions | |
| Ray | screen_to_world (screen_pos: float2, screen_size: float2) |
| Unprojects a 2-D screen-space position to a world-space ray originating at the camera. More... | |
Properties | |
| integer | id |
| Unique camera identifier. | |
| float4x4 | transform |
| Camera world-space transform (view) matrix. | |
| float4x4 | projection |
| Camera projection matrix (perspective or orthographic). | |
| integer id |
Unique camera identifier.
| float4x4 transform |
Camera world-space transform (view) matrix.
| float4x4 projection |
Camera projection matrix (perspective or orthographic).