Property | Type | Description | |
---|---|---|---|
branches | |||
branchesMat | Material | ||
iter | int | ||
leaves | |||
leavesMat | Material | ||
seed | int | ||
smoothSeed | float | ||
vertCount | int | ||
vertLeafCount | int |
Method | Description | |
---|---|---|
AddCone ( Matrix4x4 m, float l, float w0, float w1, float dist ) : void | ||
AddLeaf ( Matrix4x4 m, float len, float width, float dist ) : void | ||
Build ( ) : Mesh[] | ||
BuildGameObject ( ) : GameObject | ||
Eval ( Vector2 v ) : float | ||
ExpandRules ( ) : void | ||
Interpret ( Mesh &meshBranches, Mesh &meshLeaves ) : void | ||
OnGUI ( ) : void | ||
PostprocessMesh ( Mesh mesh ) : void | ||
ResetRandom ( int seed1 ) : void | ||
SetupMeshOnGameObject ( GameObject go, Mesh mesh, Material material ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
UpdateTree ( ) : void |
public AddCone ( Matrix4x4 m, float l, float w0, float w1, float dist ) : void | ||
m | Matrix4x4 | |
l | float | |
w0 | float | |
w1 | float | |
dist | float | |
return | void |
public AddLeaf ( Matrix4x4 m, float len, float width, float dist ) : void | ||
m | Matrix4x4 | |
len | float | |
width | float | |
dist | float | |
return | void |
public Interpret ( Mesh &meshBranches, Mesh &meshLeaves ) : void | ||
meshBranches | Mesh | |
meshLeaves | Mesh | |
return | void |
public static ResetRandom ( int seed1 ) : void | ||
seed1 | int | |
return | void |
public SetupMeshOnGameObject ( GameObject go, Mesh mesh, Material material ) : void | ||
go | GameObject | |
mesh | Mesh | |
material | Material | |
return | void |