예제 #1
0
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));
}
예제 #2
0
void SceneCollisionManager_GetRayFromScreenCoordinates(IntPtr SCM, M_POS2DS pos, IntPtr camera, M_LINE3D outRay)
{
	UM_LINE3D(((ISceneCollisionManager*)SCM)->getRayFromScreenCoordinates(MU_POS2DS(pos), ((ICameraSceneNode*)camera)), outRay);
}
예제 #3
0
IntPtr SceneCollisionManager_GetSceneNodeFromScreenCoordinatesBB(IntPtr SCM, M_POS2DS pos, int idBitMask, bool noDebug)
{
	return ((ISceneCollisionManager*)SCM)->getSceneNodeFromScreenCoordinatesBB(MU_POS2DS(pos), idBitMask, noDebug);
}
예제 #4
0
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);
}
예제 #5
0
void VideoDriver_Draw2DImageA(IntPtr videodriver, IntPtr texture, M_POS2DS destPos)
{
	GetVideoFromIntPtr(videodriver)->draw2DImage((ITexture*)texture, MU_POS2DS(destPos));
}
예제 #6
0
void VideoDriver_MakeColorKeyTexture(IntPtr videodriver, IntPtr texture, M_POS2DS colorKeyPixelPos)
{
	GetVideoFromIntPtr(videodriver)->makeColorKeyTexture((ITexture*)texture, MU_POS2DS(colorKeyPixelPos));
}
예제 #7
0
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);
}
예제 #8
0
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));
}