Package com.banuba.sdk.scene
Class MeshInstance.CppProxy
java.lang.Object
com.banuba.sdk.scene.MeshInstance.CppProxy
- All Implemented Interfaces:
MeshInstance
- Enclosing interface:
- MeshInstance
public static final class MeshInstance.CppProxy extends java.lang.Object implements MeshInstance
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.banuba.sdk.scene.MeshInstance
MeshInstance.CppProxy
-
Method Summary
Modifier and Type Method Description void
_djinni_private_destroy()
void
addParameter(Parameter parameter)
void
animationChange(java.lang.String animation, AnimationMode mode)
void
animationPause()
void
animationPlay()
void
animationSeek(long positionNs)
protected void
finalize()
java.lang.String
getAnimation()
long
getAnimationDurationNs()
AnimationMode
getAnimationMode()
long
getAnimationPositionNs()
long
getAnimationTimeOffsetNs()
int
getGeometryIndex()
Material
getMaterial()
Mesh
getMesh()
java.util.ArrayList<Parameter>
getParameters()
boolean
isAnimationPlaying()
boolean
isVisible()
void
removeParameter(Parameter parameter)
void
setAnimationTimeOffsetNs(long timeNs)
void
setMaterial(Material material)
void
setMesh(Mesh mesh, int geometryIndex)
void
setVisible(boolean visible)
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
-
setVisible
public void setVisible(boolean visible)- Specified by:
setVisible
in interfaceMeshInstance
-
isVisible
public boolean isVisible()- Specified by:
isVisible
in interfaceMeshInstance
-
setMaterial
- Specified by:
setMaterial
in interfaceMeshInstance
-
getMaterial
- Specified by:
getMaterial
in interfaceMeshInstance
-
setMesh
- Specified by:
setMesh
in interfaceMeshInstance
-
getMesh
- Specified by:
getMesh
in interfaceMeshInstance
-
getGeometryIndex
public int getGeometryIndex()- Specified by:
getGeometryIndex
in interfaceMeshInstance
-
animationChange
- Specified by:
animationChange
in interfaceMeshInstance
-
animationPlay
public void animationPlay()- Specified by:
animationPlay
in interfaceMeshInstance
-
animationPause
public void animationPause()- Specified by:
animationPause
in interfaceMeshInstance
-
animationSeek
public void animationSeek(long positionNs)- Specified by:
animationSeek
in interfaceMeshInstance
-
isAnimationPlaying
public boolean isAnimationPlaying()- Specified by:
isAnimationPlaying
in interfaceMeshInstance
-
getAnimation
public java.lang.String getAnimation()- Specified by:
getAnimation
in interfaceMeshInstance
-
getAnimationMode
- Specified by:
getAnimationMode
in interfaceMeshInstance
-
getAnimationPositionNs
public long getAnimationPositionNs()- Specified by:
getAnimationPositionNs
in interfaceMeshInstance
-
getAnimationDurationNs
public long getAnimationDurationNs()- Specified by:
getAnimationDurationNs
in interfaceMeshInstance
-
getAnimationTimeOffsetNs
public long getAnimationTimeOffsetNs()- Specified by:
getAnimationTimeOffsetNs
in interfaceMeshInstance
-
setAnimationTimeOffsetNs
public void setAnimationTimeOffsetNs(long timeNs)- Specified by:
setAnimationTimeOffsetNs
in interfaceMeshInstance
-
addParameter
- Specified by:
addParameter
in interfaceMeshInstance
-
getParameters
- Specified by:
getParameters
in interfaceMeshInstance
-
removeParameter
- Specified by:
removeParameter
in interfaceMeshInstance
-