Compare commits
1 Commits
6c36d4d21d
...
a1f63d2728
Author | SHA1 | Date | |
---|---|---|---|
a1f63d2728 |
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