Difference between revisions of "minetest.spawn tree"

From Minetest Developer Wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:minetest.spawn_tree}} == Syntax == <source>minetest.spawn_tree(pos, tree)</source> == Description == * <code>pos</code> — position * <code>tree</code> ...")
 
Line 8: Line 8:
  
 
Spawns an L-system tree at position <code>pos</code>, using the tree definition <code>tree</code>.
 
Spawns an L-system tree at position <code>pos</code>, using the tree definition <code>tree</code>.
 +
 +
See [[treegen]] for a description of L-system trees.
  
 
{{MissingExample}}
 
{{MissingExample}}
  
 
[[Category:Methods]]
 
[[Category:Methods]]

Revision as of 22:44, 8 August 2013

Syntax

minetest.spawn_tree(pos, tree)

Description

Spawns an L-system tree at position pos, using the tree definition tree.

See treegen for a description of L-system trees.

Mbox information.png This article is missing examples.
Feel free to add them.