SpaceMouseOperator

class SpaceMouseOperator : public HPS::Operator

Public Functions

inline virtual HPS::UTF8 GetName() const override

Returns the name of the Operator.

void HandleButtons(unsigned char const buttons[32])
virtual void OnModelAttached() override

This function is called whenever a model is attached to the view that is attached to this operator. If no view is attached to this operator, this function will not be called.

virtual bool OnTimerTick(HPS::TimerTickEvent const &in_event) override

This function is called whenever HPS receives a TimerTickEvent.

Parameters

in_event – A TimerTickEvent object describing the current event state.

Returns

true if the input event was handled, false otherwise.

virtual void OnViewAttached(HPS::View const &attached_view) override

This function is called whenever a view is attached to this operator.

Parameters

in_attached_view – The view attached to this operator.

SpaceMouseOperator(HPS::WindowHandle in_window_handle, HPS::Canvas const &in_canvas)
~SpaceMouseOperator()