mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 18:26:12 +08:00
30 lines
1.5 KiB
XML
30 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="SpineSlotNode" inherits="Node2D" version="3.4">
|
|
<brief_description>
|
|
A node to insert other Node2D instances into the skeleton drawing order and override materials for a specific slot.
|
|
</brief_description>
|
|
<description>
|
|
A node to insert other Node2D instances into the skeleton drawing order and override materials for a specific slot.
|
|
A slot node needs to be parented to a [code]SpineSprite[/code] directly. To insert the node and its children into the skeleton drawing order, the slot name property needs to be set to the name of the slot the node should be inserted into.
|
|
The children of the slot node will be rendered on top any active attachment of the slot.
|
|
If any of the slot node materials are set, they will be used for the active attachment of the slot.
|
|
See the [code]examples/07-slot-node[/code] and [code]examples/09-custom-material[/code] examples.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="additive_material" type="Material" setter="set_additive_material" getter="get_additive_material">
|
|
</member>
|
|
<member name="multiply_material" type="Material" setter="set_multiply_material" getter="get_multiply_material">
|
|
</member>
|
|
<member name="normal_material" type="Material" setter="set_normal_material" getter="get_normal_material">
|
|
</member>
|
|
<member name="screen_material" type="Material" setter="set_screen_material" getter="get_screen_material">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|