Class TrapezoidTestInitializer
Inheritance
object
TrapezoidTestInitializer
Assembly: .dll
Syntax
public class TrapezoidTestInitializer : InitializationMethod
Constructors
|
Edit this page
View Source
TrapezoidTestInitializer(ParticleSystem)
Declaration
public TrapezoidTestInitializer(ParticleSystem system)
Parameters
Methods
|
Edit this page
View Source
Generate(int, int, CardinalDirection, bool, bool)
Declaration
public void Generate(int sideLength = 20, int baseLength = 10, TrapezoidTestInitializer.CardinalDirection startDir = CardinalDirection.NNE, bool surround = false, bool flipLeg = false)
Parameters
|
Edit this page
View Source
GenerateTrapezoid(Vector2Int, int, int, Direction, bool)
Declaration
public (List<Vector2Int>, Vector2Int) GenerateTrapezoid(Vector2Int startPos, int sideLength, int baseLength, Direction startDir, bool fill = false)
Parameters
| Type |
Name |
Description |
| Vector2Int |
startPos |
|
| int |
sideLength |
|
| int |
baseLength |
|
| Direction |
startDir |
|
| bool |
fill |
|
Returns
| Type |
Description |
| (List<Vector2Int>, Vector2Int) |
|