com.supermap.ar.areffect
Class ARAnimationManager
- java.lang.Object
-
- com.supermap.ar.areffect.ARAnimationManager
-
public class ARAnimationManager extends java.lang.ObjectAnimation Manager
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description ARAnimationGroupaddAnimationGroup(java.lang.String groupName)Adds an animation groupARAnimationGroupgetAnimationGroup(int index)Gets animation groups according to indexesintgetAnimationGroupsCount()Gets the size of animation collectionstatic ARAnimationManagergetInstance()Gets the current AnimationManagervoidpauseALL()Pauses all animationsvoidpauseAnimationGroups(int[] indexs)Stops playing the animation group according to the index arrayvoidplayAll()Plays all animationsvoidplayAnimationGroups(int[] indexs)Starts to play the animation group according to the index arrayvoidremoveAnimationGroup(int index)Removes animation groups according to indexesvoidremoveAnimationGroup(long id)Removes animation groups according to idvoidresumeALL()Restores all animationsvoidresumeAnimationGroups(int[] indexs)Restores playing the animation group according to the index arrayvoidstopALL()Stops playing all animationsvoidstopAnimationGroup(java.lang.String groupName)Stop playing the animation group by indexing the array by namevoidstopAnimationGroups(int[] indexs)Stops playing the animation group according to the index array
-
-
-
Method Detail
-
getInstance
public static ARAnimationManager getInstance()
Gets the current AnimationManager- Returns:
- Instance object
-
addAnimationGroup
public ARAnimationGroup addAnimationGroup(java.lang.String groupName)
Adds an animation group- Parameters:
groupName- the name of the animation group- Returns:
- the animation groups
-
getAnimationGroupsCount
public int getAnimationGroupsCount()
Gets the size of animation collection- Returns:
- Number
-
getAnimationGroup
public ARAnimationGroup getAnimationGroup(int index)
Gets animation groups according to indexes- Parameters:
index- index- Returns:
- the animation groups
-
removeAnimationGroup
public void removeAnimationGroup(int index)
Removes animation groups according to indexes- Parameters:
index- index
-
removeAnimationGroup
public void removeAnimationGroup(long id)
Removes animation groups according to id- Parameters:
id- id of animation
-
playAll
public void playAll()
Plays all animations
-
playAnimationGroups
public void playAnimationGroups(int[] indexs)
Starts to play the animation group according to the index array- Parameters:
indexs- index
-
pauseALL
public void pauseALL()
Pauses all animations
-
pauseAnimationGroups
public void pauseAnimationGroups(int[] indexs)
Stops playing the animation group according to the index array- Parameters:
indexs- index
-
resumeALL
public void resumeALL()
Restores all animations
-
resumeAnimationGroups
public void resumeAnimationGroups(int[] indexs)
Restores playing the animation group according to the index array- Parameters:
indexs- index
-
stopALL
public void stopALL()
Stops playing all animations
-
stopAnimationGroups
public void stopAnimationGroups(int[] indexs)
Stops playing the animation group according to the index array- Parameters:
indexs- index
-
stopAnimationGroup
public void stopAnimationGroup(java.lang.String groupName)
Stop playing the animation group by indexing the array by name
-
-