ezEngine  Release 25.03
ezLongOpAttribute Class Reference

Used to mark that a component provides functionality that is executed with a long operation in the editor. More...

#include <PropertyAttributes.h>

Inheritance diagram for ezLongOpAttribute:

Public Member Functions

 ezLongOpAttribute (const char *szOpTypeName)
 
- Public Member Functions inherited from ezReflectedClass
virtual const ezRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const ezRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
EZ_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 

Public Attributes

ezUntrackedString m_sOpTypeName
 

Additional Inherited Members

- Static Public Member Functions inherited from ezNoBase
static const ezRTTIGetStaticRTTI ()
 

Detailed Description

Used to mark that a component provides functionality that is executed with a long operation in the editor.

szOpTypeName must be the class name of a class derived from ezLongOpProxy. Once a component is added to a scene with this attribute, the named long op will appear in the UI and can be executed.

The automatic registration is done by ezLongOpsAdapter


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