com.supermap.ar.areffect

Class ARAnimationModel



  • public class ARAnimationModel
    extends ARAnimation
    Default animation
    • 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 animation
        parameter - 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.