part_type_create


Description

With this function you can create a new particle type and the return value should be stored in a variable for use in all subsequent particle functions.


Syntax:

part_type_create();


Returns:

Int (particle ID)


Example:

mypart = part_type_create();

This will create a new particle type, storing its index in the variable "mypart".