I want to get a current display frame from sprite, but jsb haven’t bind displayFrame.
anyone have a good idea?
All getter methods need get prefix. So, getDisplayFrame will be ok.
hi, James Chen.
also getDisplayFrame is not a function in jsb
my cocos2d-x jsb version is 2.1.4
in jsb_cocos2dx_auto.cpp only have setDisplayFrame, but haven’t getDisplayFrame or displayFrame.
anyone have a good idea to get a current playing frame in animation?
thx