Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::CFloatProperty Class Reference
Inheritance diagram for Skylicht::CFloatProperty:
Skylicht::CValuePropertyTemplate< float > Skylicht::CValueProperty

Public Member Functions

 CFloatProperty (CObjectSerializable *owner, const char *name)
 CFloatProperty (CObjectSerializable *owner, const char *name, float value)
 CFloatProperty (CObjectSerializable *owner, const char *name, float value, float min, float max)
 CFloatProperty (CObjectSerializable *owner, const char *name, float value, float min)
virtual void serialize (io::IAttributes *io)
virtual void deserialize (io::IAttributes *io)
virtual CValuePropertyclone ()
Public Member Functions inherited from Skylicht::CValuePropertyTemplate< float >
 CValuePropertyTemplate (CObjectSerializable *owner, EPropertyDataType dataType, const char *name)
void set (const float &v)
const float & get () const
float & 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 ()

Public Attributes

float Min
float Max
bool ClampMin
bool ClampMax
Public Attributes inherited from Skylicht::CValueProperty
std::function< void(bool)> OnSetHidden
std::function< void()> OnChanged
std::string Name
std::vector< std::string > OtherName

Additional Inherited Members

Protected Attributes inherited from Skylicht::CValuePropertyTemplate< float >
float 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::CFloatProperty::clone ( )
inlinevirtual

◆ deserialize()

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

◆ serialize()

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

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