SphericalSceneRenderer

Creates and renders a sphere centered at (0, 0, 0) textured with the current video frame.

Constructors

Link copied to clipboard
constructor(context: Context)

Properties

Link copied to clipboard
val SPHERE_SLICES: Int = 180

Functions

Link copied to clipboard
open fun isVrMode(): Boolean
Checks whether the renderer is currently configured to render the video in Google VR mode.
Link copied to clipboard
open fun onDrawFrame(textureId: Int, textureMatrix: Array<Float>, modelMatrix: Array<Float>, viewMatrix: Array<Float>, projectionMatrix: Array<Float>)
Link copied to clipboard
open fun release()
Link copied to clipboard
open fun setVrMode(vrMode: Boolean)
Sets whether the renderer should render the video in Google VR mode.