org.rajawali3d.vr.surface / VRSurfaceView

VRSurfaceView

open class VRSurfaceView : CardboardView, ISurface

Constructors

<init>

VRSurfaceView(context: Context!)
VRSurfaceView(context: Context!, attrs: AttributeSet!)

Properties

mAntiAliasingConfig

var mAntiAliasingConfig: ISurface.ANTI_ALIASING_CONFIG!

mBitsAlpha

var mBitsAlpha: Int

mBitsBlue

var mBitsBlue: Int

mBitsDepth

var mBitsDepth: Int

mBitsGreen

var mBitsGreen: Int

mBitsRed

var mBitsRed: Int

mFrameRate

var mFrameRate: Double

mIsTransparent

var mIsTransparent: Boolean

mMultiSampleCount

var mMultiSampleCount: Int

mRendererDelegate

var mRendererDelegate: RendererDelegate!

mRenderMode

var mRenderMode: Int

Inherited Properties

RENDERMODE_CONTINUOUSLY

static val RENDERMODE_CONTINUOUSLY: Int

The renderer is called continuously to re-render the scene.

RENDERMODE_WHEN_DIRTY

static val RENDERMODE_WHEN_DIRTY: Int

The renderer only renders when the surface is created, or when #requestRenderUpdate() is called.

Functions

getRenderMode

open fun getRenderMode(): Int

onAttachedToWindow

open fun onAttachedToWindow(): Unit

onDetachedFromWindow

open fun onDetachedFromWindow(): Unit

onPause

open fun onPause(): Unit

onResume

open fun onResume(): Unit

onVisibilityChanged

open fun onVisibilityChanged(changedView: View!, visibility: Int): Unit

requestRenderUpdate

open fun requestRenderUpdate(): Unit

setAntiAliasingMode

open fun setAntiAliasingMode(config: ISurface.ANTI_ALIASING_CONFIG!): Unit

setFrameRate

open fun setFrameRate(rate: Double): Unit

setRenderMode

open fun setRenderMode(mode: Int): Unit

setSampleCount

open fun setSampleCount(count: Int): Unit

setSurfaceRenderer

open fun setSurfaceRenderer(renderer: ISurfaceRenderer!): Unit

setTransparent

open fun setTransparent(isTransparent: Boolean): Unit

Enable/Disable transparent background for this surface view. Must be called before #setSurfaceRenderer(ISurfaceRenderer).