public class SphericalSceneRenderer
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
static int | 
SPHERE_SLICES  | 
| Constructor and Description | 
|---|
SphericalSceneRenderer(android.content.Context context)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isVrMode()
Checks whether the renderer is currently configured to render the video in Google VR mode. 
 | 
void | 
onDrawFrame(int textureId,
           float[] textureMatrix,
           float[] modelMatrix,
           float[] viewMatrix,
           float[] projectionMatrix)  | 
void | 
release()  | 
void | 
setVrMode(boolean vrMode)
Sets whether the renderer should render the video in Google VR mode. 
 | 
public static final int SPHERE_SLICES
public SphericalSceneRenderer(android.content.Context context)
public boolean isVrMode()
setVrMode(boolean)public void setVrMode(boolean vrMode)
vrMode - true if Google VR mode should be enabled, otherwise false.isVrMode()public void onDrawFrame(int textureId,
                        float[] textureMatrix,
                        float[] modelMatrix,
                        float[] viewMatrix,
                        float[] projectionMatrix)
public void release()