public class UniGroup extends AbstractUniGroup implements StackableObject
Modifier and Type | Field and Description |
---|---|
protected QuadMeshColorBuffer |
mColorBuffer |
protected QuadMeshBuffer |
mMeshBuffer |
protected boolean |
mStackable |
protected QuadMeshTextureCoordBuffer |
mTextureCoordBuffer |
ATT_CACHE_ENABLED, ATT_CLIPPING_ENABLED, ATT_TOUCHABLE, mCacheDrawer, mCacheEnabled, mCacheFrameBuffer, mCachePolicy, mCacheProjection, mChildren, mChildrenDisplayOrder, mChildrenIds, mClippingEnabled, mClipStageRect, mMatrixForVertices, mNumChildren, mNumDrawingChildren, mOriginalScissor, mOriginalScissorEnabled, mTexture, mTextureLoaded, mTouchable, mUniParent, mVisibleTouchables, mWrapContentHeight, mWrapContentWidth
ATT_ALPHA, ATT_ANIMATOR, ATT_BLEND_MODE, ATT_COLOR, ATT_DEBUG, ATT_ORIGIN_AT_CENTER, ATT_ROTATION, ATT_VISIBLE, mAlive, mAlpha, mAlphaTestEnabled, mAutoUpdateBounds, mBlendFunc, mBounds, 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
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
CACHE_WHEN_CHILDREN_CHANGED, CACHE_WHEN_CHILDREN_STABLE
Constructor and Description |
---|
UniGroup() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
drawChildren(GLState glState) |
boolean |
isStackable() |
protected void |
onTextureLoaded(Texture texture) |
protected void |
setNumDrawingChildren(int num) |
void |
setStackable(boolean value) |
int |
stack(GLState glState,
int index,
VertexBuffer vertexBuffer,
ColorBuffer colorBuffer,
TextureCoordBuffer coordBuffer) |
protected int |
stackChildAt(GLState glState,
StackableObject child,
int index) |
addChild, addChild, clearCache, dispose, draw, getCachePolicy, getCacheProjection, getChildAt, getChildById, getChildIndex, getInheritedColor, getNumChildren, getNumGrandChildren, getNumStackedChildren, getObjectTree, getParent, getParentMatrix, getTexture, initCache, invalidate, isCacheEnabled, isChildInBounds, isClippingEnabled, isTouchable, isWrapContenHeight, isWrapContentWidth, onAdded, onAdded, onAddedChild, onAddedToScene, onPreConcatParentMatrix, onRemoved, onRemovedChild, onRemovedFromScene, onTouchEvent, removeAllChildren, removeChild, removeChild, removeFromParent, sendChildToBottom, sendChildToTop, setCacheEnabled, setCachePolicy, setCacheProjection, setChildrenDisplayOrder, setClippingEnabled, setTexture, setTouchable, setWrapContentHeight, setWrapContentWidth, setXMLAttributes, stackChildren, swapChildren, swapChildren, update, updateChildren
addManipulator, drawBounds, drawEnd, drawStart, drawWireframe, getAlpha, getBlendFunc, getBounds, getColor, getDebugFlags, getFps, getGlobalPosition, getHeight, getId, getInheritedBlendFunc, getManipulator, getMask, getMatrix, getNumManipulators, getOrigin, getPivot, getPosition, getRotation, getScale, getScene, getSceneSize, getSize, getSkew, getUIConstraint, getWidth, getX, getY, getZ, globalToLocal, invalidate, isAlive, isAlphaTestEnabled, isAutoUpdateBounds, isBypassCameraClipping, isOriginAtCenter, isPerspectiveEnabled, isVisible, localToGlobal, move, moveTo, onCreateChildren, queueEvent, removeAllManipulators, 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, setY, setZ, shouldDraw, toString, updateBounds, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getNumStackedChildren, onAdded
addManipulator, dispose, getAlpha, getBlendFunc, getBounds, getColor, getFps, getId, getInheritedBlendFunc, getInheritedColor, getManipulator, getNumManipulators, getObjectTree, getOrigin, getParent, getPivot, getScene, getSkew, getZ, globalToLocal, invalidate, invalidate, isAlive, isAutoUpdateBounds, isVisible, localToGlobal, onAddedToScene, onRemoved, onRemovedFromScene, queueEvent, removeAllManipulators, removeFromParent, removeManipulator, setAlive, setAlpha, setAutoUpdateBounds, setBlendFunc, setColor, setFps, setId, setOrigin, setOrigin, setOriginAtCenter, setPivot, setPivot, setPivotAtCenter, setSkew, setVisible, setZ, shouldDraw, update, updateBounds
getHeight, getPosition, getRotation, getScale, getSize, getWidth, getX, getY, move, moveTo, rotate, setPosition, setPosition, setRotation, setScale, setScale, setSize, setSize, setX, setY
getMatrix, getScene, getSize, globalToLocal, invalidate, localToGlobal, queueEvent
protected QuadMeshBuffer mMeshBuffer
protected QuadMeshTextureCoordBuffer mTextureCoordBuffer
protected QuadMeshColorBuffer mColorBuffer
protected boolean mStackable
protected void onTextureLoaded(Texture texture)
onTextureLoaded
in class AbstractUniGroup
protected void setNumDrawingChildren(int num)
setNumDrawingChildren
in class AbstractUniGroup
protected int stackChildAt(GLState glState, StackableObject child, int index)
stackChildAt
in class AbstractUniGroup
protected boolean drawChildren(GLState glState)
drawChildren
in class AbstractUniGroup
public int stack(GLState glState, int index, VertexBuffer vertexBuffer, ColorBuffer colorBuffer, TextureCoordBuffer coordBuffer)
stack
in interface StackableObject
public void setStackable(boolean value)
setStackable
in interface StackableObject
public boolean isStackable()
isStackable
in interface StackableObject