Most visited

Recently visited

PortalScene.PortalSceneBuilder

public static class PortalScene.PortalSceneBuilder
extends Object

java.lang.Object
   ↳ com.viro.core.PortalScene.PortalSceneBuilder<R extends com.viro.core.Node, B extends com.viro.core.PortalScene.PortalSceneBuilder<R, B>>


PortalSceneBuilder for creating PortalScene objects.

Summary

Public constructors

PortalScene.PortalSceneBuilder()

Constructor for PortalSceneBuilder class.

Public methods

PortalSceneBuilder backgroundCubeTexture(Texture cubeTexture)

Refer to setBackgroundCubeTexture(Texture).

PortalSceneBuilder backgroundCubeWithColor(long color)

Refer to setBackgroundCubeWithColor(long).

PortalSceneBuilder backgroundRotation(Vector rotation)

Refer to setBackgroundRotation(Vector).

PortalSceneBuilder backgroundTexture(Texture texture)

Refer to setBackgroundTexture(Texture).

PortalSceneBuilder entryListener(PortalScene.EntryListener delegate)

Refer to setEntryListener(EntryListener).

PortalSceneBuilder lightingEnvironment(Texture lightingEnvironment)

Refer to setLightingEnvironment(Texture).

PortalSceneBuilder passable(boolean passable)

Refer to setPassable(boolean).

PortalSceneBuilder portalEntrance(Portal portal)

Refer to setPortalEntrance(Portal).

Public constructors

PortalScene.PortalSceneBuilder

PortalScene.PortalSceneBuilder ()

Constructor for PortalSceneBuilder class.

Public methods

backgroundCubeTexture

PortalSceneBuilder backgroundCubeTexture (Texture cubeTexture)

Refer to setBackgroundCubeTexture(Texture).

Parameters
cubeTexture Texture

Returns
PortalSceneBuilder This builder.

backgroundCubeWithColor

PortalSceneBuilder backgroundCubeWithColor (long color)

Refer to setBackgroundCubeWithColor(long).

Parameters
color long

Returns
PortalSceneBuilder This builder.

backgroundRotation

PortalSceneBuilder backgroundRotation (Vector rotation)

Refer to setBackgroundRotation(Vector).

Parameters
rotation Vector

Returns
PortalSceneBuilder This builder.

backgroundTexture

PortalSceneBuilder backgroundTexture (Texture texture)

Refer to setBackgroundTexture(Texture).

Parameters
texture Texture

Returns
PortalSceneBuilder This builder.

entryListener

PortalSceneBuilder entryListener (PortalScene.EntryListener delegate)

Refer to setEntryListener(EntryListener).

Parameters
delegate PortalScene.EntryListener

Returns
PortalSceneBuilder This builder.

lightingEnvironment

PortalSceneBuilder lightingEnvironment (Texture lightingEnvironment)

Refer to setLightingEnvironment(Texture).

Parameters
lightingEnvironment Texture

Returns
PortalSceneBuilder This builder.

passable

PortalSceneBuilder passable (boolean passable)

Refer to setPassable(boolean).

Parameters
passable boolean

Returns
PortalSceneBuilder This builder.

portalEntrance

PortalSceneBuilder portalEntrance (Portal portal)

Refer to setPortalEntrance(Portal).

Parameters
portal Portal

Returns
PortalSceneBuilder This builder.

Hooray!