Wintermute Engine Forum
Wintermute Engine => Technical forum => WME sources discussion => Topic started by: VEn0m on August 24, 2012, 05:06:52 PM
-
Hello!!! I know there is no way to get size of entity image. So.. my question is next : is that posible to get image size by editing GetBoundingRect and adding it to entity? ::slug
-
You can only get the height of an entity, like entity.Height.
-
Sorry I did not see that this question is in the sources discussion :) But it should be a question to Mnemonic, since it should not be a problem to add a .Width , since .Height already exists ;)
-
Problem with .Height is that its work only with region. On image it returns a 0. Or maybe i just use it wrong :)