|
GeneratorType | type = GeneratorType.Trunk |
|
string | name = "Generator" |
|
int | parent = -1 |
|
int | id = 0 |
|
AnimationCurve | shape = AnimationCurve.Constant(0,1,1) |
|
float | length = 5 |
|
float | thickness = 0.2f |
|
float | resolution = 8 |
|
float | growthRate = 1 |
|
float | randomness = 0.1f |
|
Color | color = Color.white |
|
float | phototropism = 0.1f |
|
float | lightGrowthBoost = 1.5f |
|
float | thigmotropism = 0.1f |
|
float | massMultiplier = 1 |
|
float | rigidness = 10 |
|
float | frequency = 0.25f |
|
int | multiplicity = 1 |
|
float | branchingProbability = 0.1f |
|
AnimationCurve | branchingCurve = AnimationCurve.Constant(0,1,1) |
|
float | spread = 0 |
|
float | twirl = 0 |
|
Vector2 | growthAngle = Vector2.zero |
|
Vector2 | horizontalAlign = Vector2.zero |
|
float | verticalRandomness = 0.2f |
|
Vector2 | distanceFromTrunk = Vector2.zero |
|
ObiPlant.LeafType | leafType = ObiPlant.LeafType.Square |
|
Mesh | customLeaf |
|
Vector3 | leafScale = Vector3.one |
|
Vector2 | sizeRange = new Vector2(1,2.5f) |
|
float | trunkScale = 0.5f |
|
uint | smoothness = 0 |
|
float | curvatureDetail = 1 |
|
float | perimeterDetail = 40 |
|
float | thicknessScale = 1 |
|
Vector2 | uvScale = new Vector2(1,1) |
|
ObiList< ObiPlant.Node > | nodes = new ObiList<ObiPlant.Node>() |
|
Struct that holds data for a branch level: level, growth rate, etc.