I thought I’d read somewhere that the entire cocos2d-x API is accessible from Lua, but it seems that cc does not have a Sprite3DMaterial. Can I not load material files or set a Sprite3D to use a specific built in material from Lua?
I looked in
frameworks/cocos2d-x/tools/tolua/cocos2dx_3d.ini
and it seems that Sprite3DMaterial had been left out of the classes
list, although it was mentioned in the skip
list. Added it, and regenerated the bindings and all seems fine now.