-
Notifications
You must be signed in to change notification settings - Fork 0
Part_changer_region
hugh greene edited this page Jun 20, 2022
·
1 revision
Sets the region of the given particle changer in the given particle system. This is the area in which particles are changed.
Parameter | Data Type | Description |
---|---|---|
sys | integer | index of the particle system |
ind | integer | index of the particle changer |
xmin | double | minimum x coordinate |
xmax | double | maximum x coordinate |
ymin | double | minimum y coordinate |
ymax | double | maximum y coordinate |
shape | integer | shape of the region, particle system constant |
void: This function does not return anything.
// demonstrates setting the region of a particle changer
part_changer_region(sys, changer, x - 5, x + 5, y - 5, y + 5, ps_shape_rectangle);
NOTOC
edited by hpg678 on Github