//-------------------------------------------------------------- void AnimationLinesFF::createUICustom() { if (mp_UIcanvas) { mp_UIcanvas->addToggle("colorFromDevice", &m_isColorFromDevice); addUISlider( m_properties.getFloat("dirSpeed") ); addUISlider( m_properties.getFloat("zMax") ); addUISlider( m_properties.getFloat("radius") ); addUItoggle( m_properties.getBool("radiusDirect") ); addUISlider( m_properties.getFloat("rot") ); addUISlider( m_properties.getFloat("rotSpeed") ); } }
//-------------------------------------------------------------- void AnimationParticlesMega2::createUICustom() { if (mp_UIcanvas) { mp_UIcanvas->addToggle("colorFromDevice", &m_isColorFromDevice); mp_sliderAmpAttraction = addUISlider( m_properties.getFloat("amp. attraction") ); mp_sliderAmpRepulsion = addUISlider( m_properties.getFloat("amp. repulsion") ); mp_sliderRadiusRepulsion = addUISlider( m_properties.getFloat("radius repulsion") ); mp_sliderParticleSize = addUISlider( m_properties.getFloat("particles size") ); addUISlider( m_properties.getFloat("radius color factor") ); } }
//-------------------------------------------------------------- void AnimationGravitatory::createUICustom() { if (mp_UIcanvas) { mp_UIcanvas->addToggle("colorFromDevice", &m_isColorFromDevice); } addUISlider( m_properties.getFloat("volumeTh") ); addUISlider( m_properties.getFloat("sizeFactor") ); addUISlider( m_properties.getFloat("alphaFactor") ); addUISlider( m_properties.getFloat("angleSpeedFactor") ); addUISlider( m_properties.getFloat("obj. size min") ); addUISlider( m_properties.getFloat("obj. size max") ); addUISlider( m_properties.getFloat("obj. age max") ); }
//-------------------------------------------------------------- void AnimationWaves::createUICustom() { if (mp_UIcanvas) { mp_UIcanvas->addToggle("colorFromDevice", &m_isColorFromDevice); } mp_sliderNbWavePoints = addUISlider( m_properties.getFloat("nbWavePoints") ); addUISlider( m_properties.getFloat("speed") ); addUISlider( m_properties.getFloat("ageMax") ); addUISlider( m_properties.getFloat("waveDirAmp") ); addUISlider( m_properties.getFloat("valueTriggerIn") ); addUISlider( m_properties.getFloat("valueTriggerOut") ); addUItoggle( m_properties.getBool("enableResetAccum")); addUISlider( m_properties.getFloat("timeResetAccum") ); // addUISlider( m_properties.getFloat("lineWidthWave") ); }