iterami/Docs.htm/common HTM Projects/webgl.js Prefabs/prefabs_webgl_lines_tree(args)
- Creates a lines tree prefab with the specified properties.
- Additional default args are handled by webgl_prefab_args(args).
- Translation is the center of the bottom of the trunk.
leaf-color
| [0, .5, 0, 1,]
| array of numbers
|
trunk-branch-max
| 4
| number
|
trunk-branch-min
| 0
| number
|
trunk-color
| [.4, .2, 0, 1,]
| array of numbers
|
trunk-count-max
| 10
| number
|
trunk-count-min
| 1
| number
|
trunk-length
| 10
| number
|
trunk-width-max
| 2
| number
|
trunk-width-min
| 1
| number
|