메소드 | 설명 | |
---|---|---|
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. |
리턴 | 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. |
리턴 | System |
public Update ( Microsoft.Xna.Framework.GameTime gameTime ) : void | ||
gameTime | Microsoft.Xna.Framework.GameTime | Game time. |
리턴 | void |