ezEngine Release 26.9
Loading...
Searching...
No Matches
ezManipulatorAttribute Class Reference

#include <PropertyAttributes.h>

Inheritance diagram for ezManipulatorAttribute:

Public Member Functions

 ezManipulatorAttribute (const char *szProperty1, const char *szProperty2=nullptr, const char *szProperty3=nullptr, const char *szProperty4=nullptr, const char *szProperty5=nullptr, const char *szProperty6=nullptr)
 
- 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_sProperty1
 
ezUntrackedString m_sProperty2
 
ezUntrackedString m_sProperty3
 
ezUntrackedString m_sProperty4
 
ezUntrackedString m_sProperty5
 
ezUntrackedString m_sProperty6
 

Additional Inherited Members

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

Detailed Description

Base class for property attributes that activate an in-viewport manipulator gizmo.

Attach a subclass of this attribute to a reflected property or type to signal that an interactive gizmo should appear in the viewport when the object is selected. The attribute names up to six properties that the manipulator reads and writes. Which properties are used depends on the concrete subclass.

The editor discovers this attribute through the reflection system. The ManipulatorManager tracks which manipulator is active per document and drives the ManipulatorAdapterRegistry, which instantiates the corresponding ezManipulatorAdapter to handle the actual gizmo logic.


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