creates a new pie node * Dynamically create a new pie node. * * @name gui.new_pie_node * @param pos [type:vector3|vector4] node position * @param size [type:vector3] node size * @return node [type:node] new pie node */
| 1744 | * @return node [type:node] new pie node |
| 1745 | */ |
| 1746 | static int LuaNewPieNode(lua_State* L) |
| 1747 | { |
| 1748 | Point3 pos = GetPositionFromArgumentIndex(L, 1); |
| 1749 | Vector3 size = *dmScript::CheckVector3(L, 2); |
| 1750 | Scene* scene = GuiScriptInstance_Check(L); |
| 1751 | return LuaDoNewNode(L, scene, pos, size, NODE_TYPE_PIE, 0, 0, 0x0); |
| 1752 | } |
| 1753 | |
| 1754 | /*# gets the node text |
| 1755 | * Returns the text value of a text node. This is only useful for text nodes. |
nothing calls this directly
no test coverage detected