C# Class LFO, RadialMenu-Unity

Inheritance: MonoBehaviour
显示文件 Open project: XY01/RadialMenu-Unity Class Usage Examples

Public Properties

Property Type Description
m_Amplitude float
m_ContinuousValue float
m_CurrentNormaliedValue float
m_DrawFrequencySlider bool
m_Frequency float
m_LinkedWithMasterSpeedController bool
m_Paused bool
m_Phase float
m_Waveform Wave.Waveform

Protected Properties

Property Type Description
m_PositionInCycle float
m_PrevPositionInCycle float

Private Properties

Property Type Description

Public Methods

Method Description
GetValueWithOffset ( float offset ) : float
OnDrawGizmos ( ) : void
SetFreqFromBPM ( float bpm ) : void
SetFrequency ( float freq ) : void
SetPhase ( float phase ) : void
SetSpeedMultiplyer ( float speedMultiplyer ) : void
SetWaveform ( Wave, waveform ) : void
SetWaveform ( int wavefromIndex ) : void
Start ( ) : void
Update ( ) : void

Protected Methods

Method Description
Trigger ( ) : void

Method Details

GetValueWithOffset() public method

public GetValueWithOffset ( float offset ) : float
offset float
return float

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

SetFreqFromBPM() public method

public SetFreqFromBPM ( float bpm ) : void
bpm float
return void

SetFrequency() public method

public SetFrequency ( float freq ) : void
freq float
return void

SetPhase() public method

public SetPhase ( float phase ) : void
phase float
return void

SetSpeedMultiplyer() public method

public SetSpeedMultiplyer ( float speedMultiplyer ) : void
speedMultiplyer float
return void

SetWaveform() public method

public SetWaveform ( Wave, waveform ) : void
waveform Wave,
return void

SetWaveform() public method

public SetWaveform ( int wavefromIndex ) : void
wavefromIndex int
return void

Start() public method

public Start ( ) : void
return void

Trigger() protected method

protected Trigger ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

m_Amplitude public_oe property

public float m_Amplitude
return float

m_ContinuousValue public_oe property

public float m_ContinuousValue
return float

m_CurrentNormaliedValue public_oe property

public float m_CurrentNormaliedValue
return float

m_DrawFrequencySlider public_oe property

public bool m_DrawFrequencySlider
return bool

m_Frequency public_oe property

public float m_Frequency
return float

m_LinkedWithMasterSpeedController public_oe property

public bool m_LinkedWithMasterSpeedController
return bool

m_Paused public_oe property

public bool m_Paused
return bool

m_Phase public_oe property

public float m_Phase
return float

m_PositionInCycle protected_oe property

protected float m_PositionInCycle
return float

m_PrevPositionInCycle protected_oe property

protected float m_PrevPositionInCycle
return float

m_Waveform public_oe property

public Wave.Waveform m_Waveform
return Wave.Waveform