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

Method AddDirectionSetting

SampleFramework11/v1.02/Settings.cpp:691–700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

689}
690
691void SettingsContainer::AddDirectionSetting(const char* name, const char* label, const char* group,
692 Float3 initialVal, const char* helpText)
693{
694 Assert_(settings.find(name) == settings.end());
695 Assert_(tweakBar != nullptr);
696 DirectionSetting* setting = new DirectionSetting();
697 setting->Initialize(tweakBar, name, group, label, helpText, initialVal);
698 settings[name] = setting;
699 allocatedSettings.push_back(setting);
700}
701
702void SettingsContainer::AddOrientationSetting(const char* name, const char* label, const char* group,
703 Quaternion initialVal, const char* helpText)

Callers

nothing calls this directly

Calls 3

endMethod · 0.80
InitializeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected