Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::CColorProperty Class Reference
Inheritance diagram for Skylicht::CColorProperty:
Skylicht::CValuePropertyTemplate< video::SColor > Skylicht::CValueProperty

Public Member Functions

 CColorProperty (CObjectSerializable *owner, const char *name)
 CColorProperty (CObjectSerializable *owner, const char *name, const video::SColor &value)
virtual void serialize (io::IAttributes *io)
virtual void deserialize (io::IAttributes *io)
virtual CValuePropertyclone ()
Public Member Functions inherited from Skylicht::CValuePropertyTemplate< video::SColor >
 CValuePropertyTemplate (CObjectSerializable *owner, EPropertyDataType dataType, const char *name)
void set (const video::SColor &v)
const video::SColor & get () const
video::SColor & operator* ()
Public Member Functions inherited from Skylicht::CValueProperty
 CValueProperty (CObjectSerializable *owner, EPropertyDataType dataType, const char *name)
void setOwner (CObjectSerializable *owner)
EPropertyDataType getType ()
EPropertyObjectType getObjectType ()
void setUIHeader (const char *header)
const std::string & getUIHeader ()
void setUISpace (float space)
float getUISpace ()
void setHidden (bool b)
bool isHidden ()

Additional Inherited Members

Public Attributes inherited from Skylicht::CValueProperty
std::function< void(bool)> OnSetHidden
std::function< void()> OnChanged
std::string Name
std::vector< std::string > OtherName
Protected Attributes inherited from Skylicht::CValuePropertyTemplate< video::SColor >
video::SColor m_value
Protected Attributes inherited from Skylicht::CValueProperty
EPropertyDataType m_dataType
EPropertyObjectType m_objectType
CObjectSerializablem_owner
std::string m_uiHeader
float m_uiSpace
bool m_hidden

Member Function Documentation

◆ clone()

virtual CValueProperty * Skylicht::CColorProperty::clone ( )
inlinevirtual

◆ deserialize()

virtual void Skylicht::CColorProperty::deserialize ( io::IAttributes * io)
inlinevirtual

◆ serialize()

virtual void Skylicht::CColorProperty::serialize ( io::IAttributes * io)
inlinevirtual

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