BlzFrameSetSize
- Parameters
frame framehandlewidth realheight 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
LayerStyleproperty in the FDF (such as3DWINDOWorSETSVIEWPORT), 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, useBlzFrameSetScaleinstead.- 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