Viewport:lookAt

From GiderosMobile
Revision as of 10:04, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' in development<br/> === Description === Set up the transform matrix of this viewport taking eye and target positions and up direction as argum...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: in development

Description

Set up the transform matrix of this viewport taking eye and target positions and up direction as arguments.

= Viewport:lookAt(eyexeyeyeyeztargetxtargetytargetzupxupyupz,)

'eyex: (number) eye X coordinate '
'eyey: (number) eye Y coordinate '
'eyez: (number) eye Z coordinate '
'targetx: (number) target X coordinate '
'targety: (number) target Y coordinate '
'targetz: (number) target Z coordinate '
'upx: (number) up X coordinate '
'upy: (number) up Y coordinate '
'upz: (number) up Z coordinate '