com.supermap.ar.areffect
Class ARAnimationGroup
- java.lang.Object
-
- com.supermap.ar.areffect.ARAnimationGroup
-
public class ARAnimationGroup extends java.lang.ObjectAnimation group
-
-
Constructor Summary
Constructors Constructor and Description ARAnimationGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddAnimation(ARAnimation arAnimation)Adds animations in the animation groupARAnimationgetAnimation(int index)Gets animations according to indexesintgetAnimationCount()Gets the number of animations in the animation groupjava.lang.StringgetGroupName()Gets the name of the animation grouplonggetId()Gets idvoidinsertAnimation(int index, ARAnimation arAnimation)Insert animationsvoidremoveAnimation(int index)Removes animations according to indexesvoidsetGroupName(java.lang.String groupName)Sets the name of the animation group
-
-
-
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- indexarAnimation- animation
-
-