Table of Contents

Viewport:lookAngles

Available since version: in development

Description:

Set up the transform matrix of this viewport taking eye position and pitch,yaw,roll angles as arguments

Syntax:

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