CameraToDisplayOrientation

Indicates the amount of rotation between a camera sensor and the current display orientation. This can be used for Augmented Reality applications conversion to and from pinhole cameras is meant to convert to view coordinates.

It must be noticed that OpenGL is right handed in object space and world space, which means that y coordinate values increase upwards.

When converting 3D vertices to display coordinates, projected points are converted to normalized coordinates between -1 and 1. However, y coordinate values still increase upwards.

However android views have a different system for screen coordinates, so that x coordinate values increase towards right direction (just like OpenGL), but oppositely to OpenGL, y coordinate values increase downwards.

Entries

Link copied to clipboard

Orientation corresponding to 0 degrees. This is the default if no orientation is provided.

Link copied to clipboard

Orientation corresponding to 90 degrees.

Link copied to clipboard

Orientation corresponding to 180 degrees.

Link copied to clipboard

Orientation corresponding to 270 degrees.

Link copied to clipboard

This is used when camera-to-display orientation is unknown and must not be taken into account when computing pinhole cameras or projection matrices using OpenGlToCameraHelper or CameraToOpenGlHelper. When using this orientation, computed pinhole cameras remain right-handed so that y coordinate values increase upwards.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.