Package com.banuba.sdk.scene
Class Scene.CppProxy
java.lang.Object
com.banuba.sdk.scene.Scene.CppProxy
- All Implemented Interfaces:
Scene
- Enclosing interface:
- Scene
public static final class Scene.CppProxy extends java.lang.Object implements Scene
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.banuba.sdk.scene.Scene
Scene.CppProxy
-
Method Summary
Modifier and Type Method Description void
_djinni_private_destroy()
void
addLayer(Layer layer)
void
clearRenderList()
protected void
finalize()
AssetManager
getAssetManager()
Get the AssetManager of a current scene.Layer
getLayer(java.lang.String layerName)
Return first found layer with name `layerName` or NULL if such layer doesn't exist.java.util.ArrayList<Layer>
getLayers()
java.lang.String
getName()
Get a scene name.Entity
getRoot()
Get the root of entities hierarchy.void
removeLayer(Layer layer)
void
setName(java.lang.String name)
Set a new name for a scene.void
setRenderList(RenderList renderList)
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
_djinni_private_destroy
public void _djinni_private_destroy() -
finalize
protected void finalize() throws java.lang.Throwable- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
setName
public void setName(java.lang.String name)Description copied from interface:Scene
Set a new name for a scene. The name could be empty. -
getName
public java.lang.String getName()Description copied from interface:Scene
Get a scene name. -
getRoot
Description copied from interface:Scene
Get the root of entities hierarchy. It always exists and has a name "Root". -
getAssetManager
Description copied from interface:Scene
Get the AssetManager of a current scene. It always exists.- Specified by:
getAssetManager
in interfaceScene
-
addLayer
-
getLayers
-
getLayer
Description copied from interface:Scene
Return first found layer with name `layerName` or NULL if such layer doesn't exist. -
removeLayer
- Specified by:
removeLayer
in interfaceScene
-
setRenderList
- Specified by:
setRenderList
in interfaceScene
-
clearRenderList
public void clearRenderList()- Specified by:
clearRenderList
in interfaceScene
-