Package com.banuba.sdk.scene
Interface MeshInstance
- All Known Implementing Classes:
MeshInstance.CppProxy
public interface MeshInstance
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
MeshInstance.CppProxy
-
Method Summary
Modifier and Type Method Description void
addParameter(Parameter parameter)
void
animationChange(java.lang.String animation, AnimationMode mode)
void
animationPause()
void
animationPlay()
void
animationSeek(long positionNs)
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)
-
Method Details
-
setVisible
void setVisible(boolean visible) -
isVisible
boolean isVisible() -
setMaterial
-
getMaterial
-
setMesh
-
getMesh
-
getGeometryIndex
int getGeometryIndex() -
animationChange
-
animationPlay
void animationPlay() -
animationPause
void animationPause() -
animationSeek
void animationSeek(long positionNs) -
isAnimationPlaying
boolean isAnimationPlaying() -
getAnimation
@NonNull java.lang.String getAnimation() -
getAnimationMode
-
getAnimationPositionNs
long getAnimationPositionNs() -
getAnimationDurationNs
long getAnimationDurationNs() -
getAnimationTimeOffsetNs
long getAnimationTimeOffsetNs() -
setAnimationTimeOffsetNs
void setAnimationTimeOffsetNs(long timeNs) -
addParameter
-
getParameters
-
removeParameter
-