-
Notifications
You must be signed in to change notification settings - Fork 0
Part_type_size
hugh greene edited this page Jun 20, 2022
·
1 revision
Sets the size properties of the given particle type. Particles will be created with a randomly generated size between the minimum and maximum thresholds and will grow or shrink each step depending on the relative size change you specify.
Parameter | Data Type | Description |
---|---|---|
ind | integer | index of the particle type |
min | double | minimum starting size, default is 1 |
max | double | maximum starting size, default is 1 |
incr | double | relative size change each step, default is 0 |
wiggle | double | wiggling of the size, default is 0 |
void: This function does not return anything.
// demonstrates setting the size of a particle type to between 1 and 10 and to increase by 2 each step
part_type_size(type, 1, 10, 2, 0);
NOTOC
edited by hpg678 on Github