C# Class WaveEngine.Components.Cameras.ViewCamera3DBehavior

Inheritance: Behavior
Mostra file Open project: WaveEngine/Components

Public Methods

Method Description
ViewCamera3DBehavior ( System.Vector3 lookAt ) : System

Initializes a new instance of the ViewCamera3DBehavior class.

Protected Methods

Method Description
DefaultValues ( ) : void

Sets default values for this instance.

Initialize ( ) : void

Performs further custom initialization for this instance.

By default this method does nothing.

Update ( System.TimeSpan gameTime ) : void

Manage the touch state input when dragging to calculate delta, phi and theta angles

This method will not be executed if the Component, or the Entity owning it are not Active.

Private Methods

Method Description
UpdateCameraPosition ( ) : void

Calculates the new camera Position relative to the initial position and lookAt

Method Details

DefaultValues() protected method

Sets default values for this instance.
protected DefaultValues ( ) : void
return void

Initialize() protected method

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

Update() protected method

Manage the touch state input when dragging to calculate delta, phi and theta angles
This method will not be executed if the Component, or the Entity owning it are not Active.
protected Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The game time.
return void

ViewCamera3DBehavior() public method

Initializes a new instance of the ViewCamera3DBehavior class.
public ViewCamera3DBehavior ( System.Vector3 lookAt ) : System
lookAt System.Vector3 The look at
return System