Update object.class.js

support for gradinet trasnform in rendering