C# Class WaveEngine.Components.Cameras.FreeCamera3DBehavior

Inheritance: Behavior
Exibir arquivo Open project: WaveEngine/Components

Private Properties

Property Type Description
HandleInput void
UpdateCameraPosition void
UpdateOrientation void

Public Methods

Method Description
FreeCamera3DBehavior ( ) : System

Initializes a new instance of the FreeCamera3DBehavior class.

Protected Methods

Method Description
Initialize ( ) : void

Performs further custom initialization for this instance.

By default this method does nothing.

Update ( System.TimeSpan gameTime ) : void

Updates the camera position.

Private Methods

Method Description
HandleInput ( float amount ) : void

The handle input.

UpdateCameraPosition ( float amount ) : void

The update camera position.

UpdateOrientation ( float yaw, float pitch ) : void

Update camera orientation

Method Details

FreeCamera3DBehavior() public method

Initializes a new instance of the FreeCamera3DBehavior class.
public FreeCamera3DBehavior ( ) : System
return System

Initialize() protected method

Performs further custom initialization for this instance.
By default this method does nothing.
protected Initialize ( ) : void
return void

Update() protected method

Updates the camera position.
protected Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan /// The elapsed game time. ///
return void