Plasma Engine  2.0
Loading...
Searching...
No Matches
plClampValueAttribute 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 plClampValueAttribute:

Public Member Functions

 plClampValueAttribute (const plVariant &min, const plVariant &max)
 
const plVariantGetMinValue () const
 
const plVariantGetMaxValue () const
 
- 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 Attributes

plVariant m_MinValue
 
plVariant m_MaxValue
 

Additional Inherited Members

- Static Public Member Functions inherited from plNoBase
static const plRTTIGetStaticRTTI ()
 

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: