class MAGES::Recorder::PointerCaptor¶
Overview¶
Captures pointer events from unity’s UnityEngine.EventSystems.EventSystem. More…
class PointerCaptor: public MAGES::Recorder::ICaptor { public: // properties bool IsPolling; // methods void Init(); void Deinit(); void Poll(double timestamp, UpdatePhase phase); };
Inherited Members¶
public: // properties bool IsPolling; // methods void Init(); void Deinit(); void Poll(double timestamp, UpdatePhase phase);
Detailed Documentation¶
Captures pointer events from unity’s UnityEngine.EventSystems.EventSystem.
Properties¶
bool IsPolling
Gets a value indicating whether the captor needs to be polled.
Methods¶
void Init()
Initializes this captor.
void Deinit()
Deinitialize the encoder.
void Poll(double timestamp, UpdatePhase phase)
Polls the captor for new data.
This method will only be called if IsPolling is true.
Parameters:
timestamp |
The timestamp. |
phase |
The phase. |