part_type_life - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Sets the number of steps particles of the given particle type will exist before being automatically cleared.

Parameters

Parameter Data Type Description
ind integer index of the particle type
min integer minimum lifetime, default is 100
max integer maximum lifetime, default is 100

Return Values

void: This function does not return anything.

Example Call

// demonstrates setting the life of a particle type
part_type_life(type, 100, 200);

NOTOC

⚠️ **GitHub.com Fallback** ⚠️