BlzFrameSetModel
- Parameters
-
frame framehandle
modelFile string
cameraIndex 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/Y
correspond to screen position,Z
controls 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