C# Class Project2.ThirdPersonCamera

Inheritance: Camera
Afficher le fichier Open project: nuclearpidgeon/graphicsproj2 Class Usage Examples

Méthodes publiques

Méthode Description
SetEffects ( SharpDX.Toolkit.Graphics.BasicEffect basicEffect ) : void
SetFollowObject ( GameObject toFollow ) : void
ThirdPersonCamera ( Project2Game game, System.Vector3 position, System.Vector3 offset ) : System
Update ( SharpDX.Toolkit.GameTime gameTime ) : void

Updates the Camera based on keyboard and mouse input

Method Details

SetEffects() public méthode

public SetEffects ( SharpDX.Toolkit.Graphics.BasicEffect basicEffect ) : void
basicEffect SharpDX.Toolkit.Graphics.BasicEffect
Résultat void

SetFollowObject() public méthode

public SetFollowObject ( GameObject toFollow ) : void
toFollow GameObject
Résultat void

ThirdPersonCamera() public méthode

public ThirdPersonCamera ( Project2Game game, System.Vector3 position, System.Vector3 offset ) : System
game Project2Game
position System.Vector3
offset System.Vector3
Résultat System

Update() public méthode

Updates the Camera based on keyboard and mouse input
public Update ( SharpDX.Toolkit.GameTime gameTime ) : void
gameTime SharpDX.Toolkit.GameTime
Résultat void