Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::CInterpolateFloatSerializable Class Reference
Inheritance diagram for Skylicht::CInterpolateFloatSerializable:
Skylicht::CInterpolateSerializable< CFloatProperty > Skylicht::CObjectSerializable Skylicht::CValueProperty

Public Member Functions

 CInterpolateFloatSerializable (const char *name)
 CInterpolateFloatSerializable (const char *name, CObjectSerializable *parent)
virtual void clear ()
void addEntry (float x, float y)
void addControl (const SControlPoint &p)
virtual void setInterpolator (const CInterpolator *interpolator)
virtual void getInterpolator (CInterpolator *interpolator)
virtual CObjectSerializableclone ()
Public Member Functions inherited from Skylicht::CInterpolateSerializable< CFloatProperty >
 CInterpolateSerializable (const char *name)
int count ()
Public Member Functions inherited from Skylicht::CObjectSerializable
void addProperty (CValueProperty *p)
void autoRelease (CValueProperty *p)
 CObjectSerializable (const char *name)
 CObjectSerializable (const char *name, CObjectSerializable *parent)
void remove (CValueProperty *value)
u32 getNumProperty ()
CValueProperty * getPropertyID (int i)
CValueProperty * getProperty (const char *name)
template<class T>
T * getProperty (const char *name)
template<class T>
get (const char *name, T defaultValue)
template<class T>
get (CValueProperty *p, T defaultValue)
virtual void serialize (io::IAttributes *io)
virtual void deserialize (io::IAttributes *io)
virtual bool save (const char *file)
virtual bool saveToFile ()
virtual bool load (const char *file)
virtual void save (io::IXMLWriter *writer)
virtual void load (io::IXMLReader *reader)
virtual void parseSerializable (io::IXMLReader *reader)
virtual void copyTo (CObjectSerializable *object)
void setSavePath (const char *path)
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 ()

Protected Attributes

CArrayTypeSerializable< CVector2Propertym_control
CArrayTypeSerializable< CVector2Propertym_controlL
CArrayTypeSerializable< CVector2Propertym_controlR
CArrayTypeSerializable< CIntPropertym_controlType
Protected Attributes inherited from Skylicht::CInterpolateSerializable< CFloatProperty >
CArrayTypeSerializable< CFloatPropertym_valueX
CArrayTypeSerializable< CFloatPropertym_valueY
Protected Attributes inherited from Skylicht::CObjectSerializable
std::vector< CValueProperty * > m_value
std::vector< CValueProperty * > m_autoRelease
std::string m_savePath
Protected Attributes inherited from Skylicht::CValueProperty
EPropertyDataType m_dataType
EPropertyObjectType m_objectType
CObjectSerializablem_owner
std::string m_uiHeader
float m_uiSpace
bool m_hidden

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

Member Function Documentation

◆ clear()

virtual void Skylicht::CInterpolateFloatSerializable::clear ( )
inlinevirtual

◆ clone()

virtual CObjectSerializable * Skylicht::CInterpolateFloatSerializable::clone ( )
inlinevirtual

Reimplemented from Skylicht::CObjectSerializable.

◆ getInterpolator()

virtual void Skylicht::CInterpolateFloatSerializable::getInterpolator ( CInterpolator * interpolator)
inlinevirtual

◆ setInterpolator()

virtual void Skylicht::CInterpolateFloatSerializable::setInterpolator ( const CInterpolator * interpolator)
inlinevirtual

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