SaveFeatureConfig

Declaration: TParticles.SaveFeatureConfig (FName: string): integer;
The function SaveFeatureConfig stores the definitions of the particle features in the file FName. The format of the file is the same as used in the particle feature configuration dialog.

The function returns the following error codes:

 0 ... everything is OK, the feature configurarion has been stored
-1 ... cannot write the configuration data

Hint: In order to access the particles currently loaded in the particle editor you can use the pre-declared global variable PEData.