Пример #1
0
SICALLBACK XSILoadPlugin( PluginRegistrar& in_reg )
{
	in_reg.PutAuthor(L"Svyatoslav Shumikhin");
	in_reg.PutName(L"AppLink_3DCoat_Plugin");
	in_reg.PutVersion(1,5);
	in_reg.PutHelp("http://www.3d-coat.com/forum/index.php");
	//RegistrationInsertionPoint - do not remove this line

	// Register commands for importing and exporting a polygon mesh
	in_reg.RegisterCommand(L"Coat3DExport");
	in_reg.RegisterCommand(L"Coat3DImport");

	in_reg.RegisterEvent(L"siOnActivateEvent",siOnActivate);

	// Install a top-level menu for the import/export tool
	in_reg.RegisterMenu(siMenuMainTopLevelID, L"AppLink_3DCoat", false,false);
	in_reg.RegisterMenu(siMenuMainFileExportID,"Export3DCoatMenu",false);
	in_reg.RegisterMenu(siMenuMainFileImportID,"Import3DCoatMenu",false);


	// Register a custom property to use as the import/export UI	
	in_reg.RegisterProperty(L"AppLink_3DCoat");

	return CStatus::OK;
}
Пример #2
0
SICALLBACK XSILoadPlugin_2( PluginRegistrar& in_reg ) {
	in_reg.PutAuthor(L"Exocortex Technologies, Inc.");
	in_reg.PutName(L"HeavyLoadTest");
	in_reg.PutVersion(1,0);

	in_reg.RegisterCommand(L"exocortex_run_test",L"exocortex_run_test");
	in_reg.RegisterOperator(L"exocortex_nop");

	in_reg.RegisterMenu(siMenuMainFileProjectID,L"exocortex_RunTest",false,false);

	return CStatus::OK;
}
XSIPLUGINCALLBACK CStatus XSILoadPlugin( PluginRegistrar& in_reg )
{
	in_reg.PutAuthor(L"Morten Nobel-Joergensen / Vaida Laganeckiene");
	in_reg.PutName(L"WebGL Export Plug-in");
	in_reg.PutVersion(1,0);
	
	// Register commands for importing and exporting a polygon mesh
	in_reg.RegisterCommand(L"WebGLExportScene");
	
	// Install a top-level menu for the import/export tool
	in_reg.RegisterMenu(siMenuMainTopLevelID, L"WebGL Export", false,false);
		
	// Register a custom property to use as the import/export UI	
	in_reg.RegisterProperty(L"WebGLExportProp");
	
	return CStatus::OK;
}