com.supermap.ar.areffect
Class ARAnimationModel
- java.lang.Object
-
- com.supermap.ar.areffect.ARAnimation
-
- com.supermap.ar.areffect.ARAnimationModel
-
public class ARAnimationModel extends ARAnimation
Default animation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.supermap.ar.areffect.ARAnimation
ARAnimation.ARAnimatorListener
-
-
Constructor Summary
Constructors Constructor and Description ARAnimationModel(AREffectElement arEffectElement)
Construction method
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
creatAnimation(int index, ARAnimationParameter parameter)
Creates an animationint
getAnimationDataSize()
Gets the number of default animations-
Methods inherited from class com.supermap.ar.areffect.ARAnimation
getARAnimatorListener, pause, play, resume, setARAnimatorListener, stop
-
-
-
-
Constructor Detail
-
ARAnimationModel
public ARAnimationModel(AREffectElement arEffectElement)
Construction method- Parameters:
arEffectElement
- AR special effect object
-
-
Method Detail
-
creatAnimation
public void creatAnimation(int index, ARAnimationParameter parameter)
Creates an animation- Parameters:
index
- the index of default animationparameter
- AR animation parameter. If it is null, the application will play animations ad the original settings
-
getAnimationDataSize
public int getAnimationDataSize()
Gets the number of default animations- Returns:
- The animation counts.
-
-