MCPcopy Create free account
hub / github.com/TheRealMJP/Shadows / AddDirectionSetting

Method AddDirectionSetting

Shadows/SampleFramework11/Settings.cpp:523–532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521}
522
523void SettingsContainer::AddDirectionSetting(const char* name, const char* label, const char* group,
524 Float3 initialVal, const char* helpText)
525{
526 Assert_(settings.find(name) == settings.end());
527 Assert_(tweakBar != nullptr);
528 DirectionSetting* setting = new DirectionSetting();
529 setting->Initialize(tweakBar, name, group, label, helpText, initialVal);
530 settings[name] = setting;
531 allocatedSettings.push_back(setting);
532}
533
534void SettingsContainer::AddOrientationSetting(const char* name, const char* label, const char* group,
535 Quaternion initialVal, const char* helpText)

Callers

nothing calls this directly

Calls 1

InitializeMethod · 0.45

Tested by

no test coverage detected