BlzFrameSetModel
- Parameters
frame framehandlemodelFile stringcameraIndex integer- comment
Sets a 3D model for the specified frame. Supported frame types:
SPRITE,MODEL,STATUSBAR.- note
If the cameraIndex argument is invalid (non-existent camera ID), the model is drawn in screen space with world sizes (multiplied by the frame’s scale).
X/Ycorrespond to screen position,Zcontrols depth (draw order). The model will appear rotated by-90°aroundZ, then-90°aroundY.- patch
1.31.0.11889
- Source
- common.j (suggest an edit or discuss on Github)
- return type
nothing- Source code
native BlzFrameSetModel takes framehandle frame, string modelFile, integer cameraIndex returns nothing