MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / renderUI

Method renderUI

Source/Falcor/Scene/Animation/AnimationController.cpp:473–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471 }
472
473 void AnimationController::renderUI(Gui::Widgets& widget)
474 {
475 if (widget.checkbox("Loop Animations", mLoopAnimations))
476 {
477 if (mpVertexCache)
478 {
479 mpVertexCache->setIsLooped(mLoopAnimations);
480 }
481 }
482 widget.tooltip("Enable/disable global animation looping.");
483
484 for (auto& animation : mAnimations)
485 {
486 if (auto animGroup = widget.group(animation->getName()))
487 {
488 animation->renderUI(animGroup);
489 }
490 }
491 }
492}

Callers

nothing calls this directly

Calls 5

checkboxMethod · 0.80
setIsLoopedMethod · 0.80
tooltipMethod · 0.80
groupMethod · 0.80
getNameMethod · 0.45

Tested by

no test coverage detected