C# Class Project290.Mathematics.tVector2

This is a transitioning Vector2. This is used like a tfloat.
Afficher le fichier Open project: scastle/Solitude Class Usage Examples

Méthodes publiques

Méthode Description
GoTo ( float xTarget, float yTarget ) : void

Goes to the specified x,y target.

GoTo ( float xTarget, float yTarget, float duration ) : void

Goes to the specified x,y target.

GoTo ( float xTarget, float yTarget, float duration, bool useRealTime ) : void

Goes to the specified x,y target.

Set ( float xValue, float yValue ) : void

Sets the specified Vector2 value.

Update ( ) : void

Updates this instance.

tVector2 ( float x, float y ) : System

Initializes a new instance of the tVector2 class.

Method Details

GoTo() public méthode

Goes to the specified x,y target.
public GoTo ( float xTarget, float yTarget ) : void
xTarget float The x target.
yTarget float The y target.
Résultat void

GoTo() public méthode

Goes to the specified x,y target.
public GoTo ( float xTarget, float yTarget, float duration ) : void
xTarget float The x target.
yTarget float The y target.
duration float The duration in seconds.
Résultat void

GoTo() public méthode

Goes to the specified x,y target.
public GoTo ( float xTarget, float yTarget, float duration, bool useRealTime ) : void
xTarget float The x target.
yTarget float The y target.
duration float The duration in seconds.
useRealTime bool if set to true [use real time].
Résultat void

Set() public méthode

Sets the specified Vector2 value.
public Set ( float xValue, float yValue ) : void
xValue float The x value.
yValue float The y value.
Résultat void

Update() public méthode

Updates this instance.
public Update ( ) : void
Résultat void

tVector2() public méthode

Initializes a new instance of the tVector2 class.
public tVector2 ( float x, float y ) : System
x float The x value.
y float The y value.
Résultat System