toggle menu
Brightcove Player SDK for Android 10.1.3
10.1.3
sdk
switch theme
search in API
sdk
/
com.brightcove.player.video360
/
SphericalSceneRenderer
Spherical
Scene
Renderer
open
class
SphericalSceneRenderer
Creates and renders a sphere centered at (0, 0, 0) textured with the current video frame.
Members
Constructors
Spherical
Scene
Renderer
Link copied to clipboard
constructor
(
context
:
Context
)
Properties
SPHERE_SLICES
Link copied to clipboard
val
SPHERE_SLICES
:
Int
=
180
Functions
is
Vr
Mode
Link copied to clipboard
open
fun
isVrMode
(
)
:
Boolean
Checks whether the renderer is currently configured to render the video in Google VR mode.
on
Draw
Frame
Link copied to clipboard
open
fun
onDrawFrame
(
textureId
:
Int
,
textureMatrix
:
Array
<
Float
>
,
modelMatrix
:
Array
<
Float
>
,
viewMatrix
:
Array
<
Float
>
,
projectionMatrix
:
Array
<
Float
>
)
release
Link copied to clipboard
open
fun
release
(
)
set
Vr
Mode
Link copied to clipboard
open
fun
setVrMode
(
vrMode
:
Boolean
)
Sets whether the renderer should render the video in Google VR mode.