Example #1
0
 public void Load(BinaryReaderBE reader)
 {
     LightingFunction = (LightingFunction)reader.ReadInt16();
     Period           = reader.ReadInt16();
     DeltaPeriod      = reader.ReadInt16();
     Intensity        = reader.ReadFixed();
     DeltaIntensity   = reader.ReadFixed();
 }
Example #2
0
 public Function(LightingFunction f, short period, short deltaPeriod, double intensity, double deltaIntensity)
 {
     LightingFunction = f;
     Period           = period;
     DeltaPeriod      = deltaPeriod;
     Intensity        = intensity;
     DeltaIntensity   = deltaIntensity;
 }