com.supermap.ar.areffect
Class ARAnimationGroup
- java.lang.Object
-
- com.supermap.ar.areffect.ARAnimationGroup
-
public class ARAnimationGroup extends java.lang.Object
Animation group
-
-
Constructor Summary
Constructors Constructor and Description ARAnimationGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
addAnimation(ARAnimation arAnimation)
Adds animations in the animation groupARAnimation
getAnimation(int index)
Gets animations according to indexesint
getAnimationCount()
Gets the number of animations in the animation groupjava.lang.String
getGroupName()
Gets the name of the animation grouplong
getId()
Gets idvoid
insertAnimation(int index, ARAnimation arAnimation)
Insert animationsvoid
removeAnimation(int index)
Removes animations according to indexesvoid
setGroupName(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
-
-