com.supermap.ar.areffect

Class ARAnimationTranslation2



  • public class ARAnimationTranslation2
    extends ARAnimation
    Displacement animation 2. Supports multi-arcs displacement It is used for models like humans, vehicles. You need to control the displacement speed and orientations of models.
    • Constructor Detail

      • ARAnimationTranslation2

        public ARAnimationTranslation2(AREffectElement arEffectElement)
        Parameters:
        arEffectElement -
    • Method Detail

      • creatAnimation

        public void creatAnimation(ARAnimationParameter parameter)
        Create a model
        Parameters:
        parameter -
      • getSpeed

        public float getSpeed()
        Gets speed It is valid to displacement animations only Unit: m/s
        Returns:
      • setSpeed

        public void setSpeed(float speed)
        Sets speed It is valid to displacement animations only Unit: m/s
        Parameters:
        speed -