MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Portal::Forma::ActionEvent Struct Reference

What an action is told when its event happens on an instance. More...

#include <ActionTable.hpp>

Collaboration diagram for MayaFlux::Portal::Forma::ActionEvent:

Public Attributes

Context & context
uint32_t element
const Core::WindowEvent & event
std::string_view instance
Layer & layer
glm::vec2 position

Detailed Description

What an action is told when its event happens on an instance.

The references are valid for the duration of the call. event is the window event as the window's event source reports it, so its data holds the button, key, codepoint or scroll delta. position is the pointer in NDC for pointer events and zero for the others.

Definition at line 22 of file ActionTable.hpp.


The documentation for this struct was generated from the following file: