SetParent

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
m
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
Set the object's parent :
+
{{lua-function|setParent|object, parent}}
 +
 
 +
Set the object's parent.
 +
 
 +
{{lua-function-param|object|object to operate on}}
 +
{{lua-function-param|parent|parent}}
  
 
  setParent(object, parent)
 
  setParent(object, parent)
  
0 can be used to reset parenting :
+
Zero can be used to reset parenting:
  
 
  setParent(object, 0)
 
  setParent(object, 0)

Latest revision as of 00:14, 9 February 2014

setParent(object, parent)

Set the object's parent.

  • object : object to operate on
  • parent : parent
setParent(object, parent)

Zero can be used to reset parenting:

setParent(object, 0)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox