com.badlogic.gdx.graphics.g3d.utils
Class BaseAnimationController.Transform

java.lang.Object
  extended by com.badlogic.gdx.graphics.g3d.utils.BaseAnimationController.Transform
All Implemented Interfaces:
Pool.Poolable
Enclosing class:
BaseAnimationController

public static final class BaseAnimationController.Transform
extends Object
implements Pool.Poolable


Field Summary
 Quaternion rotation
           
 Vector3 scale
           
 Vector3 translation
           
 
Constructor Summary
BaseAnimationController.Transform()
           
 
Method Summary
 BaseAnimationController.Transform idt()
           
 BaseAnimationController.Transform lerp(BaseAnimationController.Transform target, float alpha)
           
 BaseAnimationController.Transform lerp(Vector3 targetT, Quaternion targetR, Vector3 targetS, float alpha)
           
 void reset()
          Resets the object for reuse.
 BaseAnimationController.Transform set(BaseAnimationController.Transform other)
           
 BaseAnimationController.Transform set(Vector3 t, Quaternion r, Vector3 s)
           
 Matrix4 toMatrix4(Matrix4 out)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

translation

public final Vector3 translation

rotation

public final Quaternion rotation

scale

public final Vector3 scale
Constructor Detail

BaseAnimationController.Transform

public BaseAnimationController.Transform()
Method Detail

idt

public BaseAnimationController.Transform idt()

set

public BaseAnimationController.Transform set(Vector3 t,
                                             Quaternion r,
                                             Vector3 s)

set

public BaseAnimationController.Transform set(BaseAnimationController.Transform other)

lerp

public BaseAnimationController.Transform lerp(BaseAnimationController.Transform target,
                                              float alpha)

lerp

public BaseAnimationController.Transform lerp(Vector3 targetT,
                                              Quaternion targetR,
                                              Vector3 targetS,
                                              float alpha)

toMatrix4

public Matrix4 toMatrix4(Matrix4 out)

reset

public void reset()
Description copied from interface: Pool.Poolable
Resets the object for reuse. Object references should be nulled and fields may be set to default values.

Specified by:
reset in interface Pool.Poolable


Copyright © 2013. All Rights Reserved.