C# Class WaveEngine.Components.Toolkit.LookAtBehavior

Inheritance: Behavior
Mostra file Open project: WaveEngine/Components

Private Properties

Property Type Description
ApplyAxis void
GlobalAxisAlignment void
LocalAxisAlignment void
LookAtAlignment void
UpdateStrategy void
UpdateTarget void

Protected Methods

Method Description
DefaultValues ( ) : void

Sets the default values of the behavior

Initialize ( ) : void

Initializes the component

Update ( System.TimeSpan gameTime ) : void

Updates the behavior

Private Methods

Method Description
ApplyAxis ( ) : void

Applies the axis orientation

GlobalAxisAlignment ( ) : void

Look to the target using global axis

LocalAxisAlignment ( ) : void

Alignment based in local axis

LookAtAlignment ( ) : void

Look to the target directly

UpdateStrategy ( ) : void

Updates the align strategy

UpdateTarget ( ) : void

Updates the target

Method Details

DefaultValues() protected method

Sets the default values of the behavior
protected DefaultValues ( ) : void
return void

Initialize() protected method

Initializes the component
protected Initialize ( ) : void
return void

Update() protected method

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