Cocos2d-x  v3.10
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
MaterialDatas Struct Reference

material datas, since 3.3 More...

Public Member Functions

void resetData ()
 reset data.
 
var resetData ()
 reset data.
 
local resetData ()
 reset data.
 
const NMaterialDatagetMaterialData (const std::string &materialid) const
 Get material data by id. More...
 
var getMaterialData ( var materialid)
 Get material data by id. More...
 
local getMaterialData ( local materialid)
 Get material data by id. More...
 

Public Attributes

std::vector< NMaterialDatamaterials
 material list
 
var materials
 material list
 
local materials
 material list
 

Detailed Description

material datas, since 3.3

Member Function Documentation

const NMaterialData*
getMaterialData
( const std::string &  materialid) const
inline

Get material data by id.

Material ID. Material data with given material ID.

var getMaterialData ( var  materialid)
inline

Get material data by id.

Material ID. Material data with given material ID.

local getMaterialData ( local  materialid)
inline

Get material data by id.

Material ID. Material data with given material ID.


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