WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
ValueMapFullRangeEffect.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 
6 namespace DirectOutput.FX.ValueFX
7 {
8 
15  {
20  public override void Trigger(Table.TableElementData TableElementData)
21  {
22  TableElementData.Value = (TableElementData.Value == 0 ? 0 : 255);
23 
24  TriggerTargetEffect(TableElementData);
25 
26 
27  }
28  }
29 }
override void Trigger(Table.TableElementData TableElementData)
Triggers the effect with the given TableElementData.
Base class for effects targeting another effect.
This effects maps the trigger value to the full range of 0 - 255. If the trigger value is 0...