Photon Fusion
2.0.9
Represents an oscillator configuration for network simulation. More...
Public Types | |
| enum class | WaveShape |
| Defines the shape of the wave. More... | |
Public Member Functions | |
| double | GetCurveValue (System.Random rng, double elapsedSecs) |
| Calculates the value of the wave at a given time. More... | |
Public Attributes | |
| double | Additional |
| Additional noise to be added to the wave. More... | |
| double | Max |
| The maximum value of the wave. More... | |
| double | Min |
| The minimum value of the wave. More... | |
| double | Period |
| The period of the wave in seconds. More... | |
| WaveShape | Shape |
| The shape of the wave. More... | |
| double | Threshold |
| The threshold value for the wave. More... | |
Represents an oscillator configuration for network simulation.
|
strong |
| double GetCurveValue | ( | System.Random | rng, |
| double | elapsedSecs | ||
| ) |
Calculates the value of the wave at a given time.
| rng | The random number generator. |
| elapsedSecs | The elapsed time in seconds. |
| double Additional |
Additional noise to be added to the wave.
| double Max |
The maximum value of the wave.
| double Min |
The minimum value of the wave.
| double Period |
The period of the wave in seconds.
| WaveShape Shape |
The shape of the wave.
| double Threshold |
The threshold value for the wave.