MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ bind_orbit_preset() [1/2]

MAYAFLUX_API void MayaFlux::bind_orbit_preset ( const std::shared_ptr< Core::Window > &  window,
const Kinesis::OrbitConfig config = {},
const Kinesis::OrbitKeyMap key_map = {},
const std::string &  name = "default" 
)

Bind the orbit navigation controller to all RenderProcessors currently registered against a window.

Parameters
windowWindow supplying input events
configOrbit tuning parameters
key_mapKey assignments
namePreset name forwarded to the per-processor overload

Definition at line 230 of file ViewportPreset.cpp.

235{
236 for (const auto& buf : window->get_rendering_buffers()) {
237 auto rp = buf->get_render_processor();
238 if (!rp)
239 continue;
240 bind_orbit_preset(window, rp, config, key_map, name);
241 }
242}
void bind_orbit_preset(const std::shared_ptr< Core::Window > &window, const std::shared_ptr< Buffers::RenderProcessor > &processor, const Kinesis::OrbitConfig &config, const Kinesis::OrbitKeyMap &key_map, const std::string &name)
Bind the orbit navigation controller to a window and render processor.

References bind_orbit_preset().

+ Here is the call graph for this function: