Added resource scale, translate functionality.