{{widgetmethod}}
No edit summary |
({{widgetmethod}}) |
||
| Line 1: | Line 1: | ||
{{widgetmethod}} | |||
<center>'''SetScale''' ''-Documentation by [[Flickering]]-''</center> | <center>'''SetScale''' ''-Documentation by [[Flickering]]-''</center> | ||
| Line 26: | Line 28: | ||
Since the API presentation is scaled, each object has its own internal notion of size, which is only relative to the actual size it appears on-screen. The UIParent will have a reasonable scaling factor selected by the game engine, from which all of the child UI elements are then derived. This function can be used to selectively change the scale of a component relative to its parent such that it appears to become bigger or smaller. UI elements with appropriately specified anchor points and sizes should scale quite cleanly. | Since the API presentation is scaled, each object has its own internal notion of size, which is only relative to the actual size it appears on-screen. The UIParent will have a reasonable scaling factor selected by the game engine, from which all of the child UI elements are then derived. This function can be used to selectively change the scale of a component relative to its parent such that it appears to become bigger or smaller. UI elements with appropriately specified anchor points and sizes should scale quite cleanly. | ||