C# Class Beyond_Beyaan.Camera

Afficher le fichier Open project: Beyonders/Beyond-Beyaan

Méthodes publiques

Méthode Description
Camera ( int width, int height, int windowWidth, int windowHeight ) : System
CenterCamera ( int x, int y, float zoomDis ) : void
HandleUpdate ( float frameDeltaTime ) : void
MouseWheel ( int direction, float mouseX, float mouseY ) : void
ScrollToPosition ( int x, int y ) : void

Private Methods

Méthode Description
CheckPosition ( ) : void

Method Details

Camera() public méthode

public Camera ( int width, int height, int windowWidth, int windowHeight ) : System
width int
height int
windowWidth int
windowHeight int
Résultat System

CenterCamera() public méthode

public CenterCamera ( int x, int y, float zoomDis ) : void
x int
y int
zoomDis float
Résultat void

HandleUpdate() public méthode

public HandleUpdate ( float frameDeltaTime ) : void
frameDeltaTime float
Résultat void

MouseWheel() public méthode

public MouseWheel ( int direction, float mouseX, float mouseY ) : void
direction int
mouseX float
mouseY float
Résultat void

ScrollToPosition() public méthode

public ScrollToPosition ( int x, int y ) : void
x int
y int
Résultat void