Difference between revisions of "Viewport:lookAngles"
From GiderosMobile
Line 15: | Line 15: | ||
'''yaw''': (number) <translate>yaw angle in degrees</translate> <br/> | '''yaw''': (number) <translate>yaw angle in degrees</translate> <br/> | ||
'''roll''': (number) <translate>roll angle in degrees</translate> <br/> | '''roll''': (number) <translate>roll angle in degrees</translate> <br/> | ||
+ | |||
+ | {{Viewport}} |
Revision as of 02:54, 4 December 2019
Available since: in development
Class: Viewport
Description
Set up the transform matrix of this viewport taking eye position and pitch,yaw,roll angles as arguments
Viewport:lookAngles(eyex,eyey,eyez,pitch,yaw,roll)
Parameters
eyex: (number) eye X coordinate
eyey: (number) eye Y coordinate
eyez: (number) eye Z coordinate
pitch: (number) pitch angle in degrees
yaw: (number) yaw angle in degrees
roll: (number) roll angle in degrees