Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::CValueProperty Class Referenceabstract
Inheritance diagram for Skylicht::CValueProperty:
Skylicht::CValuePropertyTemplate< bool > Skylicht::CValuePropertyTemplate< video::SColor > Skylicht::CValuePropertyTemplate< long > Skylicht::CValuePropertyTemplate< double > Skylicht::CValuePropertyTemplate< std::string > Skylicht::CValuePropertyTemplate< float > Skylicht::CValuePropertyTemplate< int > Skylicht::CValuePropertyTemplate< core::matrix4 > Skylicht::CValuePropertyTemplate< core::quaternion > Skylicht::CValuePropertyTemplate< u32 > Skylicht::CValuePropertyTemplate< core::vector2df > Skylicht::CValuePropertyTemplate< core::vector3df > Skylicht::CValuePropertyTemplate< EFontType > Skylicht::CObjectSerializable Skylicht::CValuePropertyTemplate< T >

Public Member Functions

 CValueProperty (CObjectSerializable *owner, EPropertyDataType dataType, const char *name)
void setOwner (CObjectSerializable *owner)
EPropertyDataType getType ()
EPropertyObjectType getObjectType ()
virtual void serialize (io::IAttributes *io)=0
virtual void deserialize (io::IAttributes *io)=0
virtual CValueProperty * clone ()=0
void setUIHeader (const char *header)
const std::string & getUIHeader ()
void setUISpace (float space)
float getUISpace ()
void setHidden (bool b)
bool isHidden ()

Public Attributes

std::function< void(bool)> OnSetHidden
std::function< void()> OnChanged
std::string Name
std::vector< std::string > OtherName

Protected Attributes

EPropertyDataType m_dataType
EPropertyObjectType m_objectType
CObjectSerializablem_owner
std::string m_uiHeader
float m_uiSpace
bool m_hidden

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