Meta SDK2 Beta  2.7.0
Meta.Buttons.EditorButtonPlugin Class Reference

Editor Only class that helps emulate the device button events More...

Inheritance diagram for Meta.Buttons.EditorButtonPlugin:
Meta.Interop.Buttons.IButtonPlugin

Public Member Functions

 EditorButtonPlugin ()
 Create a new instance of this class More...
 
MetaButton GetButtonEvent ()
 Get a button event if available More...
 

Static Public Attributes

static Queue< MetaButtonButtonEvents = new Queue<MetaButton>()
 Static queue for Button Events. This is EDITOR ONLY to emulate button events More...
 

Detailed Description

Editor Only class that helps emulate the device button events

Constructor & Destructor Documentation

◆ EditorButtonPlugin()

Meta.Buttons.EditorButtonPlugin.EditorButtonPlugin ( )
inline

Create a new instance of this class

Member Function Documentation

◆ GetButtonEvent()

MetaButton Meta.Buttons.EditorButtonPlugin.GetButtonEvent ( )
inline

Get a button event if available

Returns
Button Event, null if there is no event

Implements Meta.Interop.Buttons.IButtonPlugin.

Member Data Documentation

◆ ButtonEvents

Queue<MetaButton> Meta.Buttons.EditorButtonPlugin.ButtonEvents = new Queue<MetaButton>()
static

Static queue for Button Events. This is EDITOR ONLY to emulate button events