iterami/Docs.htm/common HTM Projects/webgl.js Prefabs/prefabs_webgl_lines_tree(args)
- Creates a lines tree prefab with the specified properties.
- Translation is the center of the bottom of the trunk.
- Args will be used in entity creation after being cleaned up by webgl_prefab_args(args).
character
| webgl_character_id
| string ID
|
groups
| []
| array of strings
|
leaf-color
| [0, .5, 0, 1,]
| array of numbers
|
prefix
| entity_id_count
| string ID
|
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
|