|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API Form< float > MayaFlux::Portal::Forma::Geometry::vertical_fader | ( | Kinesis::AABB2D | bounds, |
| float | handle_h, | ||
| glm::vec3 | track_color = glm::vec3(0.3F), |
||
| glm::vec3 | handle_color = glm::vec3(0.9F), |
||
| const std::function< glm::vec2()> & | live_offset = {} |
||
| ) |
Geometry function for a vertical fader in NDC space.
| bounds | Full extent of the fader in NDC. |
| handle_h | Handle height in NDC units. |
| track_color | Track quad color. |
| handle_color | Handle quad color. |
| live_offset | Optional. Current translation of the drawn fader. |
Definition at line 55 of file FormFactory.cpp.
References MayaFlux::Kinesis::axis_fraction(), MayaFlux::Kinesis::filled_rect(), MayaFlux::Kinesis::AABB2D::height(), MayaFlux::Kinesis::AABB2D::max, MayaFlux::Kinesis::AABB2D::min, out, MayaFlux::Kakshya::to_mesh_vertices(), MayaFlux::Kinesis::AABB2D::translated(), MayaFlux::Portal::Graphics::TRIANGLE_STRIP, MayaFlux::Kinesis::AABB2D::width(), and write_verts().
Here is the call graph for this function: