Add the view generating method to the image generator interface

viewer-2-initial-appearance
Melanie 2010-10-05 23:49:21 +01:00
parent b424af6187
commit 5d61323192
2 changed files with 7 additions and 0 deletions

View File

@ -545,5 +545,10 @@ namespace OpenSim.Region.CoreModules.World.LegacyMap
return returnpt;
}
public Bitmap CreateViewImage(Vector3 camPos, Vector3 camDir, float fov, int width, int height)
{
return null;
}
}
}

View File

@ -26,6 +26,7 @@
*/
using OpenSim.Framework;
using OpenMetaverse;
namespace OpenSim.Region.Framework.Interfaces
{
@ -74,6 +75,7 @@ namespace OpenSim.Region.Framework.Interfaces
public interface IMapImageGenerator
{
System.Drawing.Bitmap CreateMapTile();
System.Drawing.Bitmap CreateViewImage(Vector3 camPos, Vector3 camDir, float fov, int width, int height);
byte[] WriteJpeg2000Image();
}
}