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