feat: ICamera2D
This commit is contained in:
parent
d66b119119
commit
35933dfd14
|
@ -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);
|
||||
}
|
Loading…
Reference in New Issue