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

Method AddOrientationSetting

SampleFramework11/v1.02/Settings.cpp:702–711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

700}
701
702void SettingsContainer::AddOrientationSetting(const char* name, const char* label, const char* group,
703 Quaternion initialVal, const char* helpText)
704{
705 Assert_(settings.find(name) == settings.end());
706 Assert_(tweakBar != nullptr);
707 OrientationSetting* setting = new OrientationSetting();
708 setting->Initialize(tweakBar, name, group, label, helpText, initialVal);
709 settings[name] = setting;
710 allocatedSettings.push_back(setting);
711}
712
713void SettingsContainer::AddColorSetting(const char* name, const char* label, const char* group,
714 Float3 initialVal, bool hdr, float minIntensity,

Callers

nothing calls this directly

Calls 3

endMethod · 0.80
InitializeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected