Plasma Engine  2.0
Loading...
Searching...
No Matches
plGizmoAction Class Reference
Inheritance diagram for plGizmoAction:

Public Member Functions

 plGizmoAction (const plActionContext &context, const char *szName, const plRTTI *pGizmoType)
 
virtual void Execute (const plVariant &value) override
 
- Public Member Functions inherited from plButtonAction
 plButtonAction (const plActionContext &context, const char *szName, bool bCheckable, const char *szIconPath)
 
bool IsEnabled () const
 
void SetEnabled (bool bEnable, bool bTriggerUpdate=true)
 
bool IsCheckable () const
 
void SetCheckable (bool bCheckable, bool bTriggerUpdate=true)
 
bool IsChecked () const
 
void SetChecked (bool bChecked, bool bTriggerUpdate=true)
 
bool IsVisible () const
 
void SetVisible (bool bVisible, bool bTriggerUpdate=true)
 
- Public Member Functions inherited from plNamedAction
 plNamedAction (const plActionContext &context, const char *szName, const char *szIconPath)
 
const char * GetName () const
 
plStringView GetAdditionalDisplayString ()
 
void SetAdditionalDisplayString (plStringView sString, bool bTriggerUpdate=true)
 
const char * GetIconPath () const
 
void SetIconPath (const char *szIconPath)
 
- Public Member Functions inherited from plAction
 plAction (const plActionContext &context)
 
void TriggerUpdate ()
 
const plActionContextGetContext () const
 
plActionDescriptorHandle GetDescriptorHandle ()
 
- Public Member Functions inherited from plReflectedClass
virtual const plRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const plRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
PL_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 

Protected Member Functions

void UpdateState ()
 
void GameObjectEventHandler (const plGameObjectEvent &e)
 

Protected Attributes

plGameObjectDocumentm_pGameObjectDocument = nullptr
 
const plRTTIm_pGizmoType = nullptr
 
- Protected Attributes inherited from plButtonAction
bool m_bCheckable
 
bool m_bChecked
 
bool m_bEnabled
 
bool m_bVisible
 
- Protected Attributes inherited from plNamedAction
plString m_sName
 
plString m_sAdditionalDisplayString
 
plString m_sIconPath
 
- Protected Attributes inherited from plAction
plActionContext m_Context
 

Additional Inherited Members

- Static Public Member Functions inherited from plNoBase
static const plRTTIGetStaticRTTI ()
 
- Public Attributes inherited from plAction
plEvent< plAction * > m_StatusUpdateEvent
 Fire when the state of the action changes (enabled, value etc...)
 

Member Function Documentation

◆ Execute()

void plGizmoAction::Execute ( const plVariant & value)
overridevirtual

Implements plAction.


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