public class AniSkeleton extends PlayableObject
mAccumulatedFrames, mCurrentFrame, mLoop, mNumFrames, mPendingTime, mPlaying, mPreviousFrame
ATT_ALPHA, ATT_ANIMATOR, ATT_BLEND_MODE, ATT_COLOR, ATT_DEBUG, ATT_ORIGIN_AT_CENTER, ATT_ROTATION, ATT_VISIBLE, mAlive, mAlpha, mAlphaTestEnabled, mAutoUpdateBounds, mBlendFunc, mBypassCameraClipping, mColor, mDebugFlags, mFrameDuration, mHasTransformValues, mId, mInvalidateFlags, mManipulators, mMask, mMatrix, mNumManipulators, mOrigin, mParent, mPerspectiveEnabled, mPivot, mPosition, mRotation, mRotationVectorX, mRotationVectorY, mRotationVectorZ, mScale, mScene, mSceneSize, mSize, mSkew, mTransformMatrix, mTransformMatrixValues, mUIConstraint, mVisible, mZ, TAG
LOOP_NONE, LOOP_REPEAT, LOOP_REVERSE
FLIP_X, FLIP_Y
ALL, ALPHA, BLEND, BOUNDS, CACHE, CHILDREN, COLOR, DEPTH, FRAME, ORIGIN, PARENT, PARENT_BOUNDS, PERSPECTIVE, PIVOT, POSITION, ROTATION, SCALE, SIZE, SKEW, TEXTURE, TEXTURE_COORDS, TRANSFORM_MATRIX, VERTICES, VISIBILITY, VISUAL
Constructor and Description |
---|
AniSkeleton(AniFile file) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
protected boolean |
drawChildren(GLState glState) |
int |
getFlips() |
RectF |
getFrameRect(int frame) |
boolean |
isDebugging() |
void |
setAniFile(AniFile file) |
void |
setDebugging(boolean debugging) |
void |
setFlips(int flips)
Flip the vertices horizontally and/or vertically
|
protected void |
updateFrame(int frame) |
getCurrentFrame, getLoop, getNumFrames, isPlaying, play, playAt, setLoop, stop, stopAt, update
addManipulator, draw, drawBounds, drawEnd, drawStart, drawWireframe, getAlpha, getBlendFunc, getBounds, getColor, getDebugFlags, getFps, getGlobalPosition, getHeight, getId, getInheritedBlendFunc, getInheritedColor, getManipulator, getMask, getMatrix, getNumManipulators, getObjectTree, getOrigin, getParent, getParentMatrix, getPivot, getPosition, getRotation, getScale, getScene, getSceneSize, getSize, getSkew, getUIConstraint, getWidth, getX, getY, getZ, globalToLocal, invalidate, invalidate, isAlive, isAlphaTestEnabled, isAutoUpdateBounds, isBypassCameraClipping, isOriginAtCenter, isPerspectiveEnabled, isVisible, localToGlobal, move, moveTo, onAdded, onAddedToScene, onCreateChildren, onPreConcatParentMatrix, onRemoved, onRemovedFromScene, queueEvent, removeAllManipulators, removeFromParent, removeManipulator, rotate, setAlive, setAlpha, setAlphaTestEnabled, setAutoUpdateBounds, setBlendFunc, setBypassCameraClipping, setColor, setDebugFlags, setFps, setId, setMask, setOrigin, setOrigin, setOriginAtCenter, setPerspectiveEnabled, setPivot, setPivot, setPivotAtCenter, setPosition, setPosition, setRotation, setRotationVector, setScale, setScale, setSize, setSize, setSkew, setUIConstraint, setVisible, setX, setXMLAttributes, setY, setZ, shouldDraw, toString, updateBounds, updateChildren, validate
public AniSkeleton(AniFile file)
public void setAniFile(AniFile file)
protected void updateFrame(int frame)
updateFrame
in class PlayableObject
protected boolean drawChildren(GLState glState)
drawChildren
in class BaseDisplayObject
public RectF getFrameRect(int frame)
public void dispose()
dispose
in interface Displayable
dispose
in class BaseDisplayObject
public int getFlips()
public void setFlips(int flips)
flips
- DisplayObject, FLIP_X, FLIP_Y
public boolean isDebugging()
public void setDebugging(boolean debugging)