XII Release 0.1.0
Loading...
Searching...
No Matches
xiiLongOpAttribute Class Reference

#include <PropertyAttributes.h>

Inheritance diagram for xiiLongOpAttribute:
[legend]

Public Member Functions

 xiiLongOpAttribute (xiiStringView sOpTypeName)
Public Member Functions inherited from xiiReflectedClass
virtual const xiiRTTI * GetDynamicRTTI () const
bool IsInstanceOf (const xiiRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
template<typename T>
XII_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.

Public Attributes

xiiUntrackedString m_sOpTypeName

Additional Inherited Members

Static Public Member Functions inherited from xiiNoBase
static const xiiRTTI * GetStaticRTTI ()

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 xiiLongOpProxy. 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 xiiLongOpsAdapter


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