Effect that falls in a downward direction. More...
Public Member Functions | |
| TiltDropEffect () | |
| Constructor. | |
| TiltDropEffect (Widget widget) | |
| Constructor. | |
Static Public Member Functions | |
| static TiltDropEffect | CreateAndStart (Widget widget) |
| Creates an instance and starts the effect. | |
Protected Member Functions | |
| override void | OnStart () |
| Start processing. | |
| override EffectUpdateResponse | OnUpdate (float elapsedTime) |
| Update processing. | |
| override void | OnStop () |
| Stop processing. | |
Properties | |
| float | DropDirection [get, set] |
| Obtains and sets the falling direction (radian). | |
| float | Speed [get, set] |
| Obtains and sets the effect speed. | |
Effect that falls in a downward direction.
| TiltDropEffect | ( | Widget | widget | ) |
Constructor.
| widget | Effect-target widget |
| static TiltDropEffect CreateAndStart | ( | Widget | widget | ) | [static] |
Creates an instance and starts the effect.
| widget | Effect-target widget |
| override EffectUpdateResponse OnUpdate | ( | float | elapsedTime | ) | [protected, virtual] |
Update processing.
| elapsedTime | Elapsed time from previous update (ms) |
Implements Effect.
float DropDirection [get, set] |
Obtains and sets the falling direction (radian).
Downward direction is 0.
float Speed [get, set] |
Obtains and sets the effect speed.
1.0 is the standard speed.