LuaSTG-x Core API
lstg::ResourceQuad Class Reference
Inheritance diagram for lstg::ResourceQuad:
lstg::ResourceColliable lstg::Resource lstg::ResAnimation lstg::ResSprite

Public Member Functions

function getColor ()
 
function getInfo ()
 
function getRenderMode ()
 
function getVertex ()
 
function setAlpha (local alpha)
 
function setColor (local color, local i)
 
function setRenderMode (local m)
 
function setVertex (local v)
 
- Public Member Functions inherited from lstg::ResourceColliable
function getColliderType ()
 
function getHalfSizeX ()
 
function getHalfSizeY ()
 
function getInfo ()
 
- Public Member Functions inherited from lstg::Resource
function getInfo ()
 
function getName ()
 
function getPath ()
 
function getType ()
 

Member Function Documentation

◆ getColor()

function getColor ( )
Returns
color4b_table

◆ getInfo()

function getInfo ( )
Returns
map_table

◆ getRenderMode()

function getRenderMode ( )

◆ getVertex()

function getVertex ( )
Returns
cc.V3F_C4B_T2F_Quad

◆ setAlpha()

function setAlpha ( local  alpha)
Parameters
alphanumber
Returns
lstg.ResourceQuad

◆ setColor()

function setColor ( local  color,
local  i 
)
Parameters
colorcolor4b_table
inumber
Returns
lstg.ResourceQuad
重载
fun(self:lstg.ResourceQuad, color:color4b_table):lstg.ResourceQuad

◆ setRenderMode()

function setRenderMode ( local  m)
Parameters
mlstg.RenderMode
Returns
lstg.ResourceQuad

◆ setVertex()

function setVertex ( local  v)
Parameters
vcc.V3F_C4B_T2F_Quad
Returns
lstg.ResourceQuad

The documentation for this class was generated from the following file: