IUP/Callbacks/IupModelView

From Vendetta Lua
Revision as of 14:58, 10 May 2023 by Draugath (Talk | contribs) (Created page with "__NOTOC__ __NOEDITSECTION__ iup.modelview :VALUE :EXPAND : MODE -- 1 ?? : ACTIVE : FGCOLOR :local meshname, meshfile, shipcolor, itemtype, overlayindex = GetShipMeshInfo(act...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


iup.modelview

VALUE
EXPAND
MODE -- 1  ??
ACTIVE
FGCOLOR
local meshname, meshfile, shipcolor, itemtype, overlayindex = GetShipMeshInfo(activeshipid)
SetViewObject(portview, meshname, meshfile, shipcolor, itemtype, overlayindex)
ProjectPoint(portinfo and portinfo.position or gvector(0, 0, 0)) -> something??
SetOrientation(math3d.MakeQuatFromGVectors(gvector(0, 0, 1), gvector(0, 1, 0)))