Path: blob/master/modules/gltf/doc_classes/GLTFSkeleton.xml
10279 views
<?xml version="1.0" encoding="UTF-8" ?>1<class name="GLTFSkeleton" inherits="Resource" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">2<brief_description>3</brief_description>4<description>5</description>6<tutorials>7<link title="Runtime file loading and saving">$DOCS_URL/tutorials/io/runtime_file_loading_and_saving.html</link>8</tutorials>9<methods>10<method name="get_bone_attachment">11<return type="BoneAttachment3D" />12<param index="0" name="idx" type="int" />13<description>14</description>15</method>16<method name="get_bone_attachment_count">17<return type="int" />18<description>19</description>20</method>21<method name="get_godot_bone_node">22<return type="Dictionary" />23<description>24Returns a [Dictionary] that maps skeleton bone indices to the indices of glTF nodes. This property is unused during import, and only set during export. In a glTF file, a bone is a node, so Godot converts skeleton bones to glTF nodes.25</description>26</method>27<method name="get_godot_skeleton">28<return type="Skeleton3D" />29<description>30</description>31</method>32<method name="get_unique_names">33<return type="String[]" />34<description>35</description>36</method>37<method name="set_godot_bone_node">38<return type="void" />39<param index="0" name="godot_bone_node" type="Dictionary" />40<description>41Sets a [Dictionary] that maps skeleton bone indices to the indices of glTF nodes. This property is unused during import, and only set during export. In a glTF file, a bone is a node, so Godot converts skeleton bones to glTF nodes.42</description>43</method>44<method name="set_unique_names">45<return type="void" />46<param index="0" name="unique_names" type="String[]" />47<description>48</description>49</method>50</methods>51<members>52<member name="joints" type="PackedInt32Array" setter="set_joints" getter="get_joints" default="PackedInt32Array()">53</member>54<member name="roots" type="PackedInt32Array" setter="set_roots" getter="get_roots" default="PackedInt32Array()">55</member>56</members>57</class>585960