DeviceCoordinates

Package: Libraries.Game.Graphics · Inherits from: Libraries.Language.Object

This class manages the default NDC (normalized device coordinates) used by the Game when performing projection calculations. Different graphics systems use different coordinate systems when translating world coordinates to screen space. When the CameraMatrix4 class calculates projections, if no coordinate system or depth range is specified, it uses the default NDC stored here. By default, Quorum expects left handed device coordinates.

Variables

  • integer DEPTH_ZERO_TO_ONE
  • integer RIGHT_HANDED
  • integer DEPTH_NEGATIVE_ONE_TO_ONE
  • integer LEFT_HANDED

Actions

GetDefaultCoordinateSpace()

Returns

integer

GetDefaultDepthRange()

Returns

integer

SetDefaultCoordinateSpace(integer defaultCoordinateSpace)

Parameters

  • defaultCoordinateSpace integer

SetDefaultDepthRange(integer defaultDepthRange)

Parameters

  • defaultDepthRange integer

Inherited Actions

3 actions from Libraries.Language.Object