public class UniRect extends UniObject
Modifier and Type | Field and Description |
---|---|
protected float[] |
mTextureCoords |
static int |
NUM_VERTICES |
mAlive, mAlpha, mAutoUpdateBounds, mBlendColor, mBlendFunc, mBounds, mBypassCameraClipping, mColor, mDebugFlags, mFrameDuration, mGlobalPosition, mHasOrigin, mId, mInvalidateFlags, mManipulators, mMatrix, mMatrixForVertices, mNumManipulators, mOrigin, mOriginAtCenter, mParent, mPivot, mPosition, mRotation, mScale, mScene, mSize, mSkew, mStackable, mVertices, 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
Constructor and Description |
---|
UniRect() |
Modifier and Type | Method and Description |
---|---|
protected void |
resetVertices() |
protected void |
setTextureCoords(float[] source) |
int |
stack(GLState glState,
int index,
VertexBuffer vertexBuffer,
ColorBuffer colorBuffer,
TextureCoordBuffer coordBuffer) |
addManipulator, dispose, drawBounds, drawWireframe, getAlpha, getBlendFunc, getBounds, getColor, getDebugFlags, getFps, getGlobalPosition, getHeight, getId, getInheritedBlendFunc, getInheritedColor, getManipulator, getMatrix, getNumManipulators, getNumStackedChildren, getObjectTree, getOrigin, getParent, getPivot, getPosition, getRotation, getScale, getScene, getSize, getSkew, getWidth, getX, getY, getZ, globalToLocal, invalidate, invalidate, isAlive, isAutoUpdateBounds, isBypassCameraClipping, isOriginAtCenter, isStackable, isVisible, localToGlobal, move, moveTo, onAdded, onAddedToScene, onRemoved, onRemovedFromScene, queueEvent, removeAllManipulators, removeFromParent, removeManipulator, rotate, setAlive, setAlpha, setAutoUpdateBounds, setBlendFunc, setBypassCameraClipping, setColor, setDebugFlags, setFps, setId, setOrigin, setOrigin, setOriginAtCenter, setPivot, setPivot, setPivotAtCenter, setPosition, setPosition, setRotation, setScale, setScale, setSize, setSize, setSkew, setStackable, setVisible, setX, setY, setZ, shouldDraw, update, updateBounds, updateMatrix, validate
public static final int NUM_VERTICES
protected float[] mTextureCoords
protected void setTextureCoords(float[] source)
protected void resetVertices()
resetVertices
in class UniObject
public int stack(GLState glState, int index, VertexBuffer vertexBuffer, ColorBuffer colorBuffer, TextureCoordBuffer coordBuffer)