get the slice9 values for the node * Returns the slice9 configuration values for the node. * * @name gui.get_slice9 * @param node [type:node] node to manipulate * @return values [type:vector4] configuration values */
| 3134 | * @return values [type:vector4] configuration values |
| 3135 | */ |
| 3136 | static int LuaGetSlice9(lua_State* L) |
| 3137 | { |
| 3138 | HNode hnode; |
| 3139 | InternalNode* n = LuaCheckNodeInternal(L, 1, &hnode); |
| 3140 | (void) n; |
| 3141 | |
| 3142 | Scene* scene = GuiScriptInstance_Check(L); |
| 3143 | dmScript::PushVector4(L, dmGui::GetNodeProperty(scene, hnode, dmGui::PROPERTY_SLICE9)); |
| 3144 | return 1; |
| 3145 | } |
| 3146 | |
| 3147 | /*# sets the number of generated vertices around the perimeter |
| 3148 | * Sets the number of generated vertices around the perimeter of a pie node. |
nothing calls this directly
no test coverage detected