MCPcopy Create free account
hub / github.com/YACReader/yacreader / setValues

Method setValues

custom_widgets/yacreader_3d_flow_config_widget.cpp:225–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225void YACReader3DFlowConfigWidget::setValues(Preset preset)
226{
227 xRotation->setValue(preset.cfRX);
228 yPosition->setValue(preset.cfY * 100);
229 coverDistance->setValue(preset.xDistance * 100);
230 centralDistance->setValue(preset.centerDistance * 100);
231 zoomLevel->setValue(preset.cfZ);
232 yCoverOffset->setValue(preset.yDistance * 100);
233 zCoverOffset->setValue(preset.zDistance * 100);
234 coverRotation->setValue(preset.rotation * -1);
235 fadeOutDist->setValue(preset.animationFadeOutDist);
236 lightStrength->setValue(preset.viewRotateLightStrenght);
237 maxAngle->setValue(preset.viewAngle);
238}

Callers 5

setClassicConfigMethod · 0.80
setStripeConfigMethod · 0.80
setModernConfigMethod · 0.80
setRouletteConfigMethod · 0.80

Calls 1

setValueMethod · 0.80

Tested by

no test coverage detected