Add the view generating method to the image generator interface
parent
b424af6187
commit
5d61323192
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue