LeviLamina
Loading...
Searching...
No Matches
OreUI::EditorInputStateFacet Class Reference
Inheritance diagram for OreUI::EditorInputStateFacet:

Classes

struct  KeyBindingStateFacet

Public Types

enum class  MouseButton : uchar {
  Left = 0 , Middle = 1 , Right = 2 , Back = 3 ,
  Forward = 4
}
enum class  MouseButton : uchar {
  Left = 0 , Middle = 1 , Right = 2 , Back = 3 ,
  Forward = 4
}
using KeyBindingStateMap
using CursorIconStateMap = ::std::unordered_map<::HashedString, ::std::string>

Public Member Functions

EditorInputStateFacet & operator= (EditorInputStateFacet const &)
 EditorInputStateFacet (EditorInputStateFacet const &)
virtual bool update ()
MCAPI EditorInputStateFacet (::Editor::ServiceProviderCollection *services)
MCAPI void _handleViewportFocusChange (bool)
MCFOLD ::std::unordered_map<::HashedString, ::std::string > const & getCursorIconStateMap () const
MCFOLD ::std::unordered_map< ::HashedString, ::std::unordered_map<::HashedString, ::OreUI::EditorInputStateFacet::KeyBindingStateFacet > > const & getKeyBindingStateMap () const
MCFOLD bool isViewportFocused () const
MCAPI bool onViewportMouseButtonDown (::OreUI::EditorInputStateFacet::MouseButton button, bool shift, bool ctrl, bool alt)
MCAPI bool onViewportMouseButtonUp (::OreUI::EditorInputStateFacet::MouseButton button, bool shift, bool ctrl, bool alt, bool hasDragged)
MCAPI bool onViewportMouseDelta (float dx, float dy)
MCAPI bool onViewportMouseWheel (bool wheelOut)
MCAPI void setCursorReleased (bool shouldRelease)
MCAPI void setViewportFocus (bool isFocused)
MCAPI void * $ctor (::Editor::ServiceProviderCollection *services)
MCAPI bool $update ()

Static Public Member Functions

static MCAPI ::std::add_lvalue_reference_t< char const[]> NAME ()

Public Attributes

::ll::TypedStorage< 1, 1, bool > mDirty
::ll::TypedStorage< 8, 8, ::Editor::ServiceProviderCollection * > mServices
::ll::TypedStorage< 8, 8, ::Editor::Services::ClientPlayerInputServiceProvider & > mInputService
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mViewportFocusEventSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mKeyBindingStateChangedEventSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mCursorIconChangedEventSub
::ll::TypedStorage< 8, 64, ::std::unordered_map< ::HashedString, ::std::unordered_map<::HashedString, ::OreUI::EditorInputStateFacet::KeyBindingStateFacet > > > mKeyBindingStateMap
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::std::string > > mCursorIconStateMap

Member Typedef Documentation

◆ KeyBindingStateMap

using OreUI::EditorInputStateFacet::KeyBindingStateMap
Initial value:
::std::unordered_map<
::std::unordered_map<::HashedString, ::OreUI::EditorInputStateFacet::KeyBindingStateFacet>>
Definition HashedString.h:5

The documentation for this class was generated from the following files: