com.supermap.ar.areffect

Class ARAnimationGroup

  • java.lang.Object
    • com.supermap.ar.areffect.ARAnimationGroup


  • public class ARAnimationGroup
    extends java.lang.Object
    Animation group
    • Constructor Detail

      • ARAnimationGroup

        public ARAnimationGroup()
    • Method Detail

      • getId

        public long getId()
        Gets id
        Returns:
        id
      • setGroupName

        public void setGroupName(java.lang.String groupName)
        Sets the name of the animation group
        Parameters:
        groupName - the name of the animation group
      • getGroupName

        public java.lang.String getGroupName()
        Gets the name of the animation group
        Returns:
        the name of the animation group
      • addAnimation

        public void addAnimation(ARAnimation arAnimation)
        Adds animations in the animation group
        Parameters:
        arAnimation - animation
      • getAnimation

        public ARAnimation getAnimation(int index)
        Gets animations according to indexes
        Parameters:
        index - index
        Returns:
        the animation
      • getAnimationCount

        public int getAnimationCount()
        Gets the number of animations in the animation group
        Returns:
        Number
      • removeAnimation

        public void removeAnimation(int index)
        Removes animations according to indexes
        Parameters:
        index - index
      • insertAnimation

        public void insertAnimation(int index,
                                    ARAnimation arAnimation)
        Insert animations
        Parameters:
        index - index
        arAnimation - animation