|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::bind_viewport_preset | ( | const std::shared_ptr< Core::Window > & | window, |
| ViewportPresetMode | mode = ViewportPresetMode::Fly, |
||
| const ViewportPresetConfig & | config = {}, |
||
| const std::string & | name = "default" |
||
| ) |
Bind a navigation preset to all RenderProcessors currently registered against a window.
Calls bind_viewport_preset(window, rp, mode, config, name) for every buffer registered with the window at call time that returns a non-null RenderProcessor. Buffers registered after this call are not covered.
| window | Window supplying input events |
| mode | Navigation controller to install, defaults to Fly preset |
| config | Tuning parameters |
| name | Preset name forwarded to bind_viewport_preset() |
Definition at line 113 of file ViewportPreset.cpp.
References bind_viewport_preset().
Here is the call graph for this function: