Moai SDK
1.5 revision 1 (MoaiEdition)
|
Function List | |
setBoundsDeck | |
setShader | |
setTexture |
Set or clear the bounds override deck.
function setBoundsDeck ( MOAIDeck self [, MOAIBoundsDeck boundsDeck ] )
self | ( MOAIDeck ) |
boundsDeck | ( MOAIBoundsDeck ) Optional. |
Set the shader to use if neither the deck item nor the prop specifies a shader.
function setShader ( MOAIDeck self, MOAIShader shader )
self | ( MOAIDeck ) |
shader | ( MOAIShader ) |
Set or load a texture for this deck.
function setTexture ( MOAIDeck self, variant texture [, number transform ] )
self | ( MOAIDeck ) |
texture | ( variant ) A MOAITexture, MOAIMultiTexture, MOAIDataBuffer or a path to a texture file |
transform | ( number ) Optional. Any bitwise combination of MOAITextureBase.QUANTIZE, MOAITextureBase.TRUECOLOR, MOAITextureBase.PREMULTIPLY_ALPHA |