Méthode | Description | |
---|---|---|
MoveOff ( ) : void |
Makes the transition move towards 0.
|
|
MoveOn ( ) : void |
Makes the transition move towards 1.
|
|
Transition ( System.TimeSpan duration ) : System |
Creates a new instance of the Transition class.
|
|
Transition ( System.TimeSpan onDuration, System.TimeSpan offDuration ) : System |
Creates a new instance of the Transition class.
|
|
Update ( Microsoft.Xna.Framework.GameTime gameTime ) : void |
Updates the transition.
|
public Transition ( System.TimeSpan duration ) : System | ||
duration | System.TimeSpan | The time taken to transition on or off. |
Résultat | System |
public Transition ( System.TimeSpan onDuration, System.TimeSpan offDuration ) : System | ||
onDuration | System.TimeSpan | The time taken to transition from 0 to 1. |
offDuration | System.TimeSpan | The time taken to transition from 1 to 0. |
Résultat | System |
public Update ( Microsoft.Xna.Framework.GameTime gameTime ) : void | ||
gameTime | Microsoft.Xna.Framework.GameTime | Game time. |
Résultat | void |