org.rajawali3d.animation

Package org.rajawali3d.animation

Types

Animation

abstract class Animation : Playable
abstract class Animation : Playable

Animation3D

abstract class Animation3D : Animation
abstract class Animation3D : Animation

AnimationGroup

open class AnimationGroup : Animation
open class AnimationGroup : Animation

A group of Animations that will all be played and paused at the same time. When using a group, use AnimationGroup#addAnimation(Animation) to add each desired animation to the group and register the group to the scene with Scene#registerAnimation(Animation). When ready, call #play() to begin all animations.

AnimationQueue

open class AnimationQueue : AnimationGroup
open class AnimationQueue : AnimationGroup

CoalesceAnimation3D

open class CoalesceAnimation3D : Animation3D
open class CoalesceAnimation3D : Animation3D

ATransformable3D Coalescence animation. This animation ROUGHLY approximates a decaying orbit. This is a non-physics based animation. The paths objects follow are defined by ASpiral3D paths. Any number of objects can be added to the animation, and objects can have their spiral focused on a fixed point, or on another object in the animation. For example, a system of a sun, planet and moon. The moon decays into the planet while the planet decays into the sun. It is important to note that any dependencies in the animation take place in insertion order. If the 4th item is set to converge on the 5th item, then the position of the 4th item will always be one time step behind where it should be. This class is thread safe, and should you want to, configurations can be added while the animation is playing.

ColorAnimation3D

open class ColorAnimation3D : Animation3D
open class ColorAnimation3D : Animation3D

EllipticalOrbitAnimation3D

open class EllipticalOrbitAnimation3D : Animation3D
open class EllipticalOrbitAnimation3D : Animation3D

Animation that orbits ATransformable3D object around a point.

ExplodingAnimation3D

open class ExplodingAnimation3D : Animation3D
open class ExplodingAnimation3D : Animation3D

IAnimationListener

interface IAnimationListener
interface IAnimationListener

IPlayable

interface IPlayable
interface IPlayable

Playable

abstract class Playable : IPlayable
abstract class Playable : IPlayable

PosableAnimation3D

open class PosableAnimation3D : Animation3D
open class PosableAnimation3D : Animation3D

RotateAnimation3D

open class RotateAnimation3D : Animation3D
open class RotateAnimation3D : Animation3D

RotateAroundAnimation3D

open class RotateAroundAnimation3D : Animation3D
open class RotateAroundAnimation3D : Animation3D

RotateOnAxisAnimation

open class RotateOnAxisAnimation : Animation3D
open class RotateOnAxisAnimation : Animation3D

ScaleAnimation3D

open class ScaleAnimation3D : Animation3D
open class ScaleAnimation3D : Animation3D

SlerpAnimation3D

open class SlerpAnimation3D : Animation3D
open class SlerpAnimation3D : Animation3D

Performs spherical linear interpolation (SLERP) animation between two Vector3s. Example usage:


  SlerpAnimation3D anim = new SlerpAnimation3D(pointOnSphere1, pointOnSphere1);
  anim.setDuration(1000);
  anim.setInterpolator(new AccelerateDecelerateInterpolator());
  anim.setTransformable3D(myObject);
  registerAnimation(anim);
  anim.play();
  

SplineOrientationAnimation3D

open class SplineOrientationAnimation3D : Animation3D
open class SplineOrientationAnimation3D : Animation3D

SplineScalingAnimation3D

open class SplineScalingAnimation3D : Animation3D
open class SplineScalingAnimation3D : Animation3D

SplineTranslateAnimation3D

open class SplineTranslateAnimation3D : Animation3D
open class SplineTranslateAnimation3D : Animation3D

TranslateAnimation3D

open class TranslateAnimation3D : Animation3D
open class TranslateAnimation3D : Animation3D