ezEngine  Release 25.03
ezClampValueAttribute Class Reference

A property attribute that allows to define min and max values for the UI. Min or max may be set to an invalid variant to indicate unbounded values in one direction. More...

#include <PropertyAttributes.h>

Inheritance diagram for ezClampValueAttribute:

Public Member Functions

 ezClampValueAttribute (const ezVariant &min, const ezVariant &max)
 
const ezVariantGetMinValue () const
 
const ezVariantGetMaxValue () const
 
- 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.
 

Protected Attributes

ezVariant m_MinValue
 
ezVariant m_MaxValue
 

Additional Inherited Members

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

Detailed Description

A property attribute that allows to define min and max values for the UI. Min or max may be set to an invalid variant to indicate unbounded values in one direction.


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