mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Add the view generating method to the image generator interface
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user