Scene2DNode: Difference between revisions
From Crumbled World Wiki
 (Created page with "{{:Scene2DNodeExampleCode}}  ==Constructor== {| class="wikitable"  !|function !|description |- |Scene2DNode() | |- |}  ==Functions== {| class="wikitable" !|return !|function !|description |- | |addChild(Scene2DNode node) | |- |bool |getVisible() | |- |Vec2 |getGlobalPosition() | |- |Vec2 |getLocalPosition() | |- |Scene2DNode |...")  | 
			
(No difference) 
 | 
Latest revision as of 14:18, 5 July 2025
Constructor
| function | description | 
|---|---|
| Scene2DNode() | 
Functions
| return | function | description | 
|---|---|---|
| addChild(Scene2DNode node) | ||
| bool | getVisible() | |
| Vec2 | getGlobalPosition() | |
| Vec2 | getLocalPosition() | |
| Scene2DNode | getParent() | |
| string | getName() | |
| removeChild(Scene2DNode node) | ||
| setVisible(bool visible) | ||
| setLocalPosition(Vec2 position) | ||
| setRenderLevel(int level) | ||
| setName(string name) |