MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / OnTimeEvent

Method OnTimeEvent

Source/PSMoveController.cpp:180–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180void PSMoveController::OnTimeEvent(double time)
181{
182 if (mVibronomeOn)
183 {
184 float length = 100;
185 if (TheTransport->GetQuantized(time, mTransportListenerInfo) == 0)
186 length = 200;
187 mVibration.Start(1, 0, length);
188 mMoveMgr.SetVibration(0, 1);
189 }
190}
191
192void PSMoveController::FloatSliderUpdated(FloatSlider* slider, float oldVal, double time)
193{

Callers

nothing calls this directly

Calls 3

GetQuantizedMethod · 0.80
SetVibrationMethod · 0.80
StartMethod · 0.45

Tested by

no test coverage detected