C# Class Ctrl_Space.Graphics.Camera

Afficher le fichier Open project: vkd/Ctrl-Space Class Usage Examples

Méthodes publiques

Méthode Description
Camera ( GameObject followedObject ) : Ctrl_Space.Gameplay
Follow ( GameObject followedObject ) : void
GetParallaxTransform ( float ratioX, float ratioY ) : Matrix
GetTransform ( ) : Matrix

Method Details

Camera() public méthode

public Camera ( GameObject followedObject ) : Ctrl_Space.Gameplay
followedObject Ctrl_Space.Gameplay.GameObject
Résultat Ctrl_Space.Gameplay

Follow() public méthode

public Follow ( GameObject followedObject ) : void
followedObject Ctrl_Space.Gameplay.GameObject
Résultat void

GetParallaxTransform() public méthode

public GetParallaxTransform ( float ratioX, float ratioY ) : Matrix
ratioX float
ratioY float
Résultat Microsoft.Xna.Framework.Matrix

GetTransform() public méthode

public GetTransform ( ) : Matrix
Résultat Microsoft.Xna.Framework.Matrix