Package com.banuba.sdk.scene
Class Scene.CppProxy
java.lang.Object
com.banuba.sdk.scene.Scene.CppProxy
- All Implemented Interfaces:
Scene
- Enclosing interface:
- Scene
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.banuba.sdk.scene.Scene
Scene.CppProxy
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addEffectEvent
(String name, HashMap<String, String> params) void
addFeatureParam
(FeatureId feature, ArrayList<FeatureParameter> params) void
void
createEntity
(String name) void
disableRecognizerFeature
(FeatureId feature) void
enableRecognizerFeature
(FeatureId feature) protected void
finalize()
find global material parameter by nameGet the AssetManager of a current scene.getComponents
(ComponentType type) Get all components present in this scene of specified typeReturn first found layer with name `layerName` or NULL if such layer doesn't exist.getName()
Get a scene name.long
getRoot()
Get the root of entities hierarchy.int
int
getTriggerStatus
(TriggerType trigger) void
removeLayer
(Layer layer) void
Set a new name for a scene.void
setRenderList
(RenderList renderList)
-
Method Details
-
_djinni_private_destroy
public void _djinni_private_destroy() -
finalize
-
setName
Description copied from interface:Scene
Set a new name for a scene. The name could be empty. -
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
-
getComponents
Description copied from interface:Scene
Get all components present in this scene of specified type- Specified by:
getComponents
in interfaceScene
-
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
-
getRenderList
- Specified by:
getRenderList
in interfaceScene
-
clearRenderList
public void clearRenderList()- Specified by:
clearRenderList
in interfaceScene
-
getCamera
-
enableRecognizerFeature
- Specified by:
enableRecognizerFeature
in interfaceScene
-
disableRecognizerFeature
- Specified by:
disableRecognizerFeature
in interfaceScene
-
addFeatureParam
- Specified by:
addFeatureParam
in interfaceScene
-
addEffectEvent
- Specified by:
addEffectEvent
in interfaceScene
-
getTriggerStatus
- Specified by:
getTriggerStatus
in interfaceScene
-
createEntity
- Specified by:
createEntity
in interfaceScene
-
getNativeContext
public long getNativeContext()- Specified by:
getNativeContext
in interfaceScene
-
getSurfaceWidth
public int getSurfaceWidth()- Specified by:
getSurfaceWidth
in interfaceScene
-
getSurfaceHeight
public int getSurfaceHeight()- Specified by:
getSurfaceHeight
in interfaceScene
-
findGlobalMaterialParameter
Description copied from interface:Scene
find global material parameter by name- Specified by:
findGlobalMaterialParameter
in interfaceScene
- Parameters:
name
- (string)- Returns:
- parameter (parameter) or null
-