IntPtr GuiEnv_AddImageAW(IntPtr guienv, IntPtr image, M_POS2DS pos, bool useAlphaChannel, IntPtr parent, int id, wchar_t* text) { return GetGui(guienv)->addImage((ITexture*)image, MU_POS2DS(pos), useAlphaChannel, (IGUIElement*)parent, id, (text)); }
void SceneCollisionManager_GetRayFromScreenCoordinates(IntPtr SCM, M_POS2DS pos, IntPtr camera, M_LINE3D outRay) { UM_LINE3D(((ISceneCollisionManager*)SCM)->getRayFromScreenCoordinates(MU_POS2DS(pos), ((ICameraSceneNode*)camera)), outRay); }
IntPtr SceneCollisionManager_GetSceneNodeFromScreenCoordinatesBB(IntPtr SCM, M_POS2DS pos, int idBitMask, bool noDebug) { return ((ISceneCollisionManager*)SCM)->getSceneNodeFromScreenCoordinatesBB(MU_POS2DS(pos), idBitMask, noDebug); }
void VideoDriver_Draw2DImageB(IntPtr videodriver, IntPtr texture, M_POS2DS destPos, M_RECT sourceRect, M_SCOLOR color, bool useAlphaChannelOfTexture) { GetVideoFromIntPtr(videodriver)->draw2DImage((ITexture*)texture, MU_POS2DS(destPos), MU_RECT(sourceRect), 0, MU_SCOLOR(color), useAlphaChannelOfTexture); }
void VideoDriver_Draw2DImageA(IntPtr videodriver, IntPtr texture, M_POS2DS destPos) { GetVideoFromIntPtr(videodriver)->draw2DImage((ITexture*)texture, MU_POS2DS(destPos)); }
void VideoDriver_MakeColorKeyTexture(IntPtr videodriver, IntPtr texture, M_POS2DS colorKeyPixelPos) { GetVideoFromIntPtr(videodriver)->makeColorKeyTexture((ITexture*)texture, MU_POS2DS(colorKeyPixelPos)); }
void VideoDriver_Draw2DPolygon(IntPtr videodriver, M_POS2DS center, float radius, M_SCOLOR color, int vertexCount) { GetVideoFromIntPtr(videodriver)->draw2DPolygon(MU_POS2DS(center), radius, MU_SCOLOR(color), vertexCount); }
void VideoDriver_Draw2DLine(IntPtr videodriver, M_POS2DS start, M_POS2DS end, M_SCOLOR color) { GetVideoFromIntPtr(videodriver)->draw2DLine(MU_POS2DS(start), MU_POS2DS(end), MU_SCOLOR(color)); }