feat: ICamera2D Interface
This commit is contained in:
9
Engine.Core/Abstract/ICamera2D.cs
Normal file
9
Engine.Core/Abstract/ICamera2D.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace Syntriax.Engine.Core.Abstract;
|
||||
|
||||
public interface ICamera2D : IBehaviour, IAssignableTransform
|
||||
{
|
||||
float Zoom { get; set; }
|
||||
|
||||
Vector2D ScreenToWorldPosition(Vector2D screenPosition);
|
||||
Vector2D WorldToScreenPosition(Vector2D screenPosition);
|
||||
}
|
Reference in New Issue
Block a user