Serialization helper for particle trails.
More...
#include <ParticleSystem/CTrailSerializable.h>
|
|
| CTrailSerializable (CObjectSerializable *parent) |
| virtual CObjectSerializable * | clone () |
|
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> |
| T | get (const char *name, T defaultValue) |
|
template<class T> |
| 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) |
|
| 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 () |
|
|
CStringProperty | Name |
| | The name of the linked particle group.
|
|
CFloatProperty | Width |
| | Width of the trail ribbon.
|
|
CFloatProperty | Length |
| | Maximum length of the trail.
|
|
CFloatProperty | SegmentLength |
| | Length of each segment in the ribbon.
|
|
CBoolProperty | DestroyWhenParticleDead |
| | Whether to immediately destroy the trail when its particle dies.
|
|
CFloatProperty | DeadAlphaReduction |
| | Alpha reduction rate for trails left behind by dead particles.
|
|
CImageSourceProperty | Texture |
| | Path to the trail texture.
|
|
CBoolProperty | UseCustomMaterial |
| | Whether to use a custom material file instead of the default.
|
|
CFilePathProperty | CustomMaterial |
| | Path to the custom material file.
|
|
CBoolProperty | Emission |
| | Whether the trail has emission (glow).
|
|
CFloatProperty | EmissionIntensity |
| | Intensity of the emission.
|
|
std::function< void(bool)> | OnSetHidden |
|
std::function< void()> | OnChanged |
|
std::string | Name |
|
std::vector< std::string > | OtherName |
|
|
std::vector< CValueProperty * > | m_value |
|
std::vector< CValueProperty * > | m_autoRelease |
|
std::string | m_savePath |
|
EPropertyDataType | m_dataType |
|
EPropertyObjectType | m_objectType |
|
CObjectSerializable * | m_owner |
|
std::string | m_uiHeader |
|
float | m_uiSpace |
|
bool | m_hidden |
Serialization helper for particle trails.
◆ clone()
| virtual CObjectSerializable * Skylicht::CTrailSerializable::clone |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following file: