getSpriteFrame function. just avoid rect parameter of SpriteFrame::Create.