C# Class Ctrl_Space.Graphics.Camera

Mostrar archivo Open project: vkd/Ctrl-Space Class Usage Examples

Public Methods

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

Method Details

Camera() public method

public Camera ( GameObject followedObject ) : Ctrl_Space.Gameplay
followedObject Ctrl_Space.Gameplay.GameObject
return Ctrl_Space.Gameplay

Follow() public method

public Follow ( GameObject followedObject ) : void
followedObject Ctrl_Space.Gameplay.GameObject
return void

GetParallaxTransform() public method

public GetParallaxTransform ( float ratioX, float ratioY ) : Matrix
ratioX float
ratioY float
return Microsoft.Xna.Framework.Matrix

GetTransform() public method

public GetTransform ( ) : Matrix
return Microsoft.Xna.Framework.Matrix