Add Lua support for reading scale and rotation inheritance