Class LineFormationInitializer
Namespace: AS2.Algos.LineFormation
Assembly: .dll
Syntax
public class LineFormationInitializer : InitializationMethod
Constructors
| Edit this page View SourceLineFormationInitializer(ParticleSystem)
Declaration
public LineFormationInitializer(ParticleSystem system)
Parameters
| Type | Name | Description |
|---|---|---|
| ParticleSystem | system |
Methods
| Edit this page View SourceGenerate(int, float)
Declaration
public void Generate(int numParticles = 50, float holeProb = 0.3)
Parameters
| Type | Name | Description |
|---|---|---|
| int | numParticles | |
| float | holeProb |