vrCameraFromAtUp

class vrCameraFromAtUp

Class that contains from, at and up vector for use with the camera nodes.

Functions

vrCameraFromAtUp.getAt()

Gets the at vector.

Returns:The at vector.
Return type:QVector3D
vrCameraFromAtUp.getFrom()

Gets the from vector.

Returns:The from vector.
Return type:QVector3D
vrCameraFromAtUp.getUp()

Gets the up vector.

Returns:The up vector.
Return type:QVector3D
vrCameraFromAtUp.setAt(at)

Sets the at vector.

Parameters:at (QVector3D) – The at vector.
vrCameraFromAtUp.setFrom(from)

Sets the from vector.

Parameters:from (QVector3D) – The from vector.
vrCameraFromAtUp.setUp(up)

Sets the up vector.

Parameters:up (QVector3D) – The up vector.
vrCameraFromAtUp.vrCameraFromAtUp()

Default constructor. Initializes from, at, up with zeros.

vrCameraFromAtUp.vrCameraFromAtUp(from, at, up)

Constructor with from, at, up parameters.

Parameters:
  • from (QVector3D) – The from vector.
  • at (QVector3D) – The at vector.
  • up (QVector3D) – The up vector.