|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API GeometryFn< 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) |
||
| ) |
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. |
Definition at line 35 of file Geometry.cpp.
References MayaFlux::Kinesis::filled_rect(), MayaFlux::Kinesis::AABB2D::height(), MayaFlux::Kinesis::AABB2D::max, MayaFlux::Kinesis::AABB2D::min, MayaFlux::Kakshya::to_mesh_vertices(), MayaFlux::Kinesis::AABB2D::width(), and write_verts().
Here is the call graph for this function: