set_spikes


Description:

[ Version ( since = "2.4" ) ]
public bool set_spikes (int spikes_in, out int spikes_out)

Sets the number of spikes for a generated brush.

Sets the number of spikes for a generated brush. Clamps spikes to [2,20]. Returns the clamped value. Returns an error when brush is non-parametric or not editable.

Parameters:

this

The brush.

spikes_in

The desired number of spikes.

spikes_out

The number of spikes actually assigned.

Returns:

TRUE on success.