BlzFrameSetSize
- Parameters
frame framehandle
width real
height real
- comment
Sets the frame’s width and height in Blizzard’s screen coordinates.
- note
For sprite-based frames, this function may not behave as expected. In most cases, changing the size does not affect the model’s actual display size. Unless you set a special
LayerStyle
property in the FDF (such as3DWINDOW
orSETSVIEWPORT
), it is recommended to set the frame’s size to a very small non-zero value (e.g.,0.001
). If you want to control the model’s size, useBlzFrameSetScale
instead.- patch
1.31.0.11889
- Source
- common.j (suggest an edit or discuss on Github)
- return type
nothing
- Source code
native BlzFrameSetSize takes framehandle frame, real width, real height returns nothing