2024-01-31 18:48:31 +03:00
|
|
|
namespace Syntriax.Engine.Core.Abstract;
|
|
|
|
|
|
|
|
public interface ICamera2D : IBehaviour, IAssignableTransform
|
|
|
|
{
|
|
|
|
float Zoom { get; set; }
|
|
|
|
|
|
|
|
Vector2D ScreenToWorldPosition(Vector2D screenPosition);
|
2024-02-01 12:02:53 +03:00
|
|
|
Vector2D WorldToScreenPosition(Vector2D worldPosition);
|
2024-01-31 18:48:31 +03:00
|
|
|
}
|