Class Animation


@Node public class Animation extends Embedded
A shared animation, embedded into VRObject. TODO more shared properties to come.
Author:
joe
  • Constructor Details

    • Animation

      public Animation()
    • Animation

      public Animation(String name, boolean loop, double speedRatio)
  • Method Details

    • getName

      public String getName()
    • isLoop

      public boolean isLoop()
    • getSpeedRatio

      public double getSpeedRatio()
    • setName

      public void setName(String name)
    • setLoop

      public void setLoop(boolean loop)
    • setSpeedRatio

      public void setSpeedRatio(double speedRatio)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Entity
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class Entity
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Entity
    • toString

      public String toString()
      Overrides:
      toString in class Entity