The following functions are available to set the properties of the changer. Note that each of them gets the index of the particle system to which it belongs as a first argument.
part_changer_create(ps) Creates a new changer in the given particle system. It returns the index of the changer. This index must be used in all calls below to set the properties of the changer.
part_changer_destroy(ps,ind) Destroys changer ind in the particle system. Call this if you don't need it anymore to save space.
part_changer_destroy_all(ps) Destroys all changers in the particle system that have been created.
part_changer_exists(ps,ind) Returns whether the indicated changer exists in the particle system.
part_changer_clear(ps,ind) Clears the changer ind to its default settings.
part_changer_region(ps,ind,xmin,xmax,ymin,ymax,shape) Sets the region for the changer.
part_changer_types(ps,ind,parttype1,parttype2) Sets which particle type the changer must changed into what other type.
part_changer_kind(ps,ind,kind) Sets the kind for the changer.
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |