Owns and advances display effects for one RenderSurfaceHost.
More...
Owns and advances display effects for one RenderSurfaceHost.
Definition at line 12 of file EffectsManager.cs.
◆ Cancel()
| void Gondwana.Effects.EffectsManager.Cancel |
( |
DisplayEffect | effect | ) |
|
Cancels a running effect and restores its original presentation state.
- Parameters
-
Definition at line 51 of file EffectsManager.cs.
◆ CancelAll()
| void Gondwana.Effects.EffectsManager.CancelAll |
( |
| ) |
|
Cancels every running effect owned by this manager.
Definition at line 67 of file EffectsManager.cs.
◆ Dispose()
| void Gondwana.Effects.EffectsManager.Dispose |
( |
| ) |
|
◆ Run< TEffect >() [1/2]
| TEffect Gondwana.Effects.EffectsManager.Run< TEffect > |
( |
SceneLayer | target, |
|
|
TEffect | effect ) |
Starts an effect targeting a SceneLayer in the currently bound Scene.
- Template Parameters
-
| TEffect | The type of effect. |
- Parameters
-
| target | The target. |
| effect | The effect. |
- Returns
- The supplied effect, registered with this manager and started on the target.
◆ Run< TEffect >() [2/2]
| TEffect Gondwana.Effects.EffectsManager.Run< TEffect > |
( |
View | target, |
|
|
TEffect | effect ) |
Starts an effect targeting a View owned by this render surface.
- Template Parameters
-
| TEffect | The type of effect. |
- Parameters
-
| target | The target. |
| effect | The effect. |
- Returns
- The supplied effect, registered with this manager and started on the target.
◆ ActiveEffects
| ReadOnlyCollection<DisplayEffect> Gondwana.Effects.EffectsManager.ActiveEffects |
|
get |
Gets a snapshot of the effects that are currently running.
Definition at line 24 of file EffectsManager.cs.