Example #1
0
void AnimatedMesh_GetFrameLoopMD2a (IntPtr mesh, M_STRING name, int *outBegin, int *outEnd, int *outFPS)
{
    int b;
    int en;
    int fps;
    ((IAnimatedMeshMD2 *)mesh)->getFrameLoop(UM_STRING(name), b, en, fps);
    *outBegin = b;
    *outEnd = en;
    *outFPS = fps;
}
Example #2
0
M_STRING Event_GetLogString(IntPtr event)
{
    return UM_STRING(MU_WCHAR(GetEventFromIntPtr(event)->LogEvent.Text));
}
Example #3
0
M_STRING AnimationMesh_GetAnimationNameMD2(IntPtr mesh, int nr)
{
    return UM_STRING(((IAnimatedMeshMD2 *)mesh)->getAnimationName(nr));
}
Example #4
0
M_STRING MeshCache_GetMeshFilenameA (IntPtr mc, IntPtr mesh)
{
	return UM_STRING(GetMeshCacheFromIntPtr(mc)->getMeshFilename(static_cast<irr::scene::IAnimatedMesh*>(mesh)).c_str());
}
Example #5
0
M_STRING MeshCache_GetMeshFilenameN (IntPtr mc, irr::u32 index)
{
	return UM_STRING(GetMeshCacheFromIntPtr(mc)->getMeshFilename(index).c_str());
}
Example #6
0
void MeshCache_AddMesh (IntPtr mc, M_STRING filename, IntPtr mesh)
{
	GetMeshCacheFromIntPtr(mc)->addMesh(UM_STRING(filename), (IAnimatedMesh*)mesh);
}
Example #7
0
IntPtr MeshCache_GetMeshByFilename (IntPtr mc, M_STRING filename)
{
	return GetMeshCacheFromIntPtr(mc)->getMeshByFilename(UM_STRING(filename));
}
Example #8
0
M_STRING GUIListBox_GetListItem(IntPtr listb, int id)
{
	return UM_STRING(((IGUIListBox*)listb)->getListItem(id));
}
Example #9
0
M_STRING GUIComboBox_GetItem(IntPtr combo, int index)
{
	return UM_STRING(((IGUIComboBox*)combo)->getItem(index));
}
Example #10
0
M_STRING GUIFileOpenDialog_GetFilename(IntPtr dialog)
{
	return UM_STRING(((IGUIFileOpenDialog*)dialog)->getFileName());
}
Example #11
0
M_STRING GUIContextMenu_GetItemText(IntPtr menu, int index)
{
	return UM_STRING(((IGUIContextMenu*)menu)->getItemText(index));
}
Example #12
0
//Converts from irr::core::stringw to managed string --> getToolTipText
M_STRING IM_STRING(const IRRSTRING base)
{
	const wchar_t* b = base.c_str();
	return UM_STRING(b);
}
Example #13
0
M_STRING GuiSkin_GetDefaultText(IntPtr gskin, EGUI_DEFAULT_TEXT which)
{
	return UM_STRING(((IGUISkin*)gskin)->getDefaultText(which));
}
Example #14
0
M_STRING SceneNode_GetName(IntPtr scenenode)
{
    return UM_STRING(GetSceneNodeFromIntPtr(scenenode)->getName());
}