Cube Texture View
Draws a 3D cube using a GLTextureView, which allows transparent background and other view effects and animations.
Types
Listener to notify when surface size changes. This can be used to initialize this view once the underlying OpenGL surface is initialized.
Properties
Gets or sets camera defining point of view to draw the scene. This camera does not take into account Android view coordinates, in Layman terms this means that y coordinates increase upwards. Setter requests to render a frame.
Gets or sets camera center position.
Gets or sets camera intrinsic parameters.
Gets or sets camera rotation.
Color to clear the scene. If clear color is transparent, views behind this view will be visible. Setter requests to render a frame.
Cube position. Setter requests to render a frame.
Cube rotation. Setter requests to render a frame.
Diffuse color to be used for lighting purposes. Setter requests to render a frame. This is only taken into account if normals are used.
Gets or sets listener being notified when GL surface is created and changes its size.
Gets or sets orientation to compute a pinhole camera expressed in view coordinates. If orientation is unknown, view camera is not used. Setter requests to render a frame.
Gets or sets camera that defines point of view to draw the scene expressed in Android view coordinates. This is only available or can only be set if surface is initialized and orientation is defined (not unknown). Setter requests to render a frame.
Gets or sets view camera center position.
Gets or sets view camera intrinsic parameters.
Gets or sets view camera rotation.
Functions
Sets near and far plane values and requests to render a frame. Any vertex nearer to the camera than the near plane, or any vertex further from the camera than the far plane is ignored and not drawn.
Sets all required values to compute the scene camera matrices.