Skip to content

Commit a187bf5

Browse files
Site changes [skip-ci]
1 parent baa8936 commit a187bf5

File tree

2 files changed

+182
-0
lines changed

2 files changed

+182
-0
lines changed

_data/extensions/extension-spine_gui.json

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,94 @@
174174
"returnvalues": [],
175175
"type": "FUNCTION"
176176
},
177+
{
178+
"description": "Add a spine skin on a spine node to another skin on the same node.",
179+
"examples": "<p>Add skin of a Spine node to another skin</p>\n<div class=\"codehilite\"><pre><span></span><code><span class=\"kr\">function</span> <span class=\"nf\">init</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">)</span>\n <span class=\"n\">gui</span><span class=\"p\">.</span><span class=\"n\">add_spine_skin</span><span class=\"p\">(</span><span class=\"n\">gui</span><span class=\"p\">.</span><span class=\"n\">get_node</span><span class=\"p\">(</span><span class=\"s2\">&quot;spine_node&quot;</span><span class=\"p\">),</span> <span class=\"s2\">&quot;monster_head&quot;</span><span class=\"p\">,</span> <span class=\"s2\">&quot;monster_body&quot;</span><span class=\"p\">)</span>\n<span class=\"kr\">end</span>\n</code></pre></div>",
180+
"name": "gui.add_spine_skin",
181+
"parameters": [
182+
{
183+
"doc": "node having both skins",
184+
"name": "node",
185+
"types": [
186+
"node"
187+
]
188+
},
189+
{
190+
"doc": "spine skin id that recieves other skin",
191+
"name": "spine_skin_a",
192+
"types": [
193+
"string",
194+
"hash"
195+
]
196+
},
197+
{
198+
"doc": "spine skin id that will be added",
199+
"name": "spine_skin_b",
200+
"types": [
201+
"string",
202+
"hash"
203+
]
204+
}
205+
],
206+
"returnvalues": [],
207+
"type": "FUNCTION"
208+
},
209+
{
210+
"description": "Copy a spine skin on a spine node to another skin on the same node.",
211+
"examples": "<p>Copy skin of a Spine node to another skin</p>\n<div class=\"codehilite\"><pre><span></span><code><span class=\"kr\">function</span> <span class=\"nf\">init</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">)</span>\n <span class=\"n\">gui</span><span class=\"p\">.</span><span class=\"n\">copy_spine_skin</span><span class=\"p\">(</span><span class=\"n\">gui</span><span class=\"p\">.</span><span class=\"n\">get_node</span><span class=\"p\">(</span><span class=\"s2\">&quot;spine_node&quot;</span><span class=\"p\">),</span> <span class=\"s2\">&quot;monster_head&quot;</span><span class=\"p\">,</span> <span class=\"s2\">&quot;monster_body&quot;</span><span class=\"p\">)</span>\n<span class=\"kr\">end</span>\n</code></pre></div>",
212+
"name": "gui.copy_spine_skin",
213+
"parameters": [
214+
{
215+
"doc": "node having both skins",
216+
"name": "node",
217+
"types": [
218+
"node"
219+
]
220+
},
221+
{
222+
"doc": "spine skin id that copies other skin",
223+
"name": "spine_skin_a",
224+
"types": [
225+
"string",
226+
"hash"
227+
]
228+
},
229+
{
230+
"doc": "spine skin id that will be copied",
231+
"name": "spine_skin_b",
232+
"types": [
233+
"string",
234+
"hash"
235+
]
236+
}
237+
],
238+
"returnvalues": [],
239+
"type": "FUNCTION"
240+
},
241+
{
242+
"description": "Clear a spine skin on a spine node of all attachments and constraints",
243+
"examples": "<p>Clear skin of a Spine node</p>\n<div class=\"codehilite\"><pre><span></span><code><span class=\"kr\">function</span> <span class=\"nf\">init</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">)</span>\n <span class=\"n\">gui</span><span class=\"p\">.</span><span class=\"n\">clear_spine_skin</span><span class=\"p\">(</span><span class=\"n\">gui</span><span class=\"p\">.</span><span class=\"n\">get_node</span><span class=\"p\">(</span><span class=\"s2\">&quot;spine_node&quot;</span><span class=\"p\">),</span> <span class=\"s2\">&quot;monster&quot;</span><span class=\"p\">)</span>\n<span class=\"kr\">end</span>\n</code></pre></div>",
244+
"name": "gui.clear_spine_skin",
245+
"parameters": [
246+
{
247+
"doc": "node having both skins",
248+
"name": "node",
249+
"types": [
250+
"node"
251+
]
252+
},
253+
{
254+
"doc": "spine skin id",
255+
"name": "spine_skin",
256+
"types": [
257+
"string",
258+
"hash"
259+
]
260+
}
261+
],
262+
"returnvalues": [],
263+
"type": "FUNCTION"
264+
},
177265
{
178266
"description": "Gets the spine skin of a spine node",
179267
"examples": "",

_data/extensions/extension-spine_spine.json

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,100 @@
249249
"returnvalues": [],
250250
"type": "FUNCTION"
251251
},
252+
{
253+
"description": "Adds one spine skin on a spine model to another on the same model.",
254+
"examples": "",
255+
"name": "spine.add_skin",
256+
"parameters": [
257+
{
258+
"doc": "The Spine model to query",
259+
"name": "url",
260+
"types": [
261+
"string",
262+
"hash",
263+
"url"
264+
]
265+
},
266+
{
267+
"doc": "Id of the corresponding skin that will recieve the added skin",
268+
"name": "skin_a",
269+
"types": [
270+
"string",
271+
"hash"
272+
]
273+
},
274+
{
275+
"doc": "Id of the corresponding skin to add",
276+
"name": "skin_b",
277+
"types": [
278+
"string",
279+
"hash"
280+
]
281+
}
282+
],
283+
"returnvalues": [],
284+
"type": "FUNCTION"
285+
},
286+
{
287+
"description": "Copies one spine skin on a spine model to another on the same model.",
288+
"examples": "",
289+
"name": "spine.copy_skin",
290+
"parameters": [
291+
{
292+
"doc": "The Spine model to query",
293+
"name": "url",
294+
"types": [
295+
"string",
296+
"hash",
297+
"url"
298+
]
299+
},
300+
{
301+
"doc": "Id of the corresponding skin that will recieve the copied skin",
302+
"name": "skin_a",
303+
"types": [
304+
"string",
305+
"hash"
306+
]
307+
},
308+
{
309+
"doc": "Id of the corresponding skin to copy.",
310+
"name": "skin_b",
311+
"types": [
312+
"string",
313+
"hash"
314+
]
315+
}
316+
],
317+
"returnvalues": [],
318+
"type": "FUNCTION"
319+
},
320+
{
321+
"description": "Clear all attachments and constraints from a skin on a spine model",
322+
"examples": "",
323+
"name": "spine.clear_skin",
324+
"parameters": [
325+
{
326+
"doc": "The Spine model to query",
327+
"name": "url",
328+
"types": [
329+
"string",
330+
"hash",
331+
"url"
332+
]
333+
},
334+
{
335+
"doc": "Id of the corresponding skin",
336+
"name": "skin",
337+
"types": [
338+
"string",
339+
"hash"
340+
]
341+
}
342+
],
343+
"returnvalues": [],
344+
"type": "FUNCTION"
345+
},
252346
{
253347
"description": "Set the attachment of a lot on a spine model.",
254348
"examples": "",

0 commit comments

Comments
 (0)