My Project
Public Member Functions | Properties | List of all members
View.Camera Class Reference

The camera class for making the scrollable camera. More...

Public Member Functions

 Camera ()
 

Properties

Vector2 Position [get, set]
 
Matrix TransformMatrix [get]
 

Detailed Description

The camera class for making the scrollable camera.

Constructor & Destructor Documentation

§ Camera()

View.Camera.Camera ( )
inline

Constructor for the camera. Initial location is at 0,0.

Property Documentation

§ Position

Vector2 View.Camera.Position
getset

Sets and gets the camera position.

§ TransformMatrix

Matrix View.Camera.TransformMatrix
get

Returns the transformation matrix that specifies the camera position. This is the heart of the camera that enables camera movement.


The documentation for this class was generated from the following file: