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_ONEinteger RIGHT_HANDEDinteger DEPTH_NEGATIVE_ONE_TO_ONEinteger LEFT_HANDED
Actions
GetDefaultCoordinateSpace()
Returns
integer
GetDefaultDepthRange()
Returns
integer
SetDefaultCoordinateSpace(integer defaultCoordinateSpace)
Parameters
defaultCoordinateSpaceinteger
SetDefaultDepthRange(integer defaultDepthRange)
Parameters
defaultDepthRangeinteger