Closed mievaan closed 11 years ago
Let me clarify as we talked over email and I redirected him here.
Afaik he wants a way to OgreMaterialAsset
to have a generic thing to get attributes, like it has for SetAttribute. So he could ask a loaded material for texture scale etc. information. Currently we only provide GetTextureUnit
that returns a Ogre::TextureUnit*
which is useless in a scripting context.
At the moment there is way to insert new scale / rotation for texture, but there is no method to get current values from texture with script. It would be good feature especially when building undo.