Skip to content

Part_type_size

hugh greene edited this page Jun 20, 2022 · 1 revision

Description

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.

Parameters

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

Return Values

void: This function does not return anything.

Example Call

// 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

Clone this wiki locally