Feel  5.1
The best way to improve your game's feel and make it extra juicy
Lofelt.NiceVibrations.MMSignal Class Reference

This class lets you output the value corresponding to one of the basic signal types it contains. Useful to draw basic signal curves. More...

Inheritance diagram for Lofelt.NiceVibrations.MMSignal:

Public Types

enum  SignalType {
  SignalType.DigitalNoise, SignalType.Pulse, SignalType.Sawtooth, SignalType.Sine,
  SignalType.Square, SignalType.Triangle, SignalType.WhiteNoise
}
 

Static Public Member Functions

static float GetValue (float time, SignalType signalType, float phase, float amplitude, float frequency, float offset, bool Invert=false)
 Returns the corresponding value based on the selected SignalType for a given time value More...
 

Detailed Description

This class lets you output the value corresponding to one of the basic signal types it contains. Useful to draw basic signal curves.

Member Enumeration Documentation

◆ SignalType

Enumerator
DigitalNoise 
Pulse 
Sawtooth 
Sine 
Square 
Triangle 
WhiteNoise 

Member Function Documentation

◆ GetValue()

static float Lofelt.NiceVibrations.MMSignal.GetValue ( float  time,
SignalType  signalType,
float  phase,
float  amplitude,
float  frequency,
float  offset,
bool  Invert = false 
)
static

Returns the corresponding value based on the selected SignalType for a given time value

Parameters
time
signalType
phase
amplitude
frequency
offset
Invert
Returns

The documentation for this class was generated from the following file: