b68dd2e189
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
56 lines
2.2 KiB
XML
56 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="SkeletonIK3D" inherits="Node" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
<link title="3D Inverse Kinematics Demo">https://godotengine.org/asset-library/asset/523</link>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="get_parent_skeleton" qualifiers="const">
|
|
<return type="Skeleton3D" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="is_running">
|
|
<return type="bool" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="start">
|
|
<return type="void" />
|
|
<argument index="0" name="one_time" type="bool" default="false" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="stop">
|
|
<return type="void" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="interpolation" type="float" setter="set_interpolation" getter="get_interpolation" default="1.0">
|
|
</member>
|
|
<member name="magnet" type="Vector3" setter="set_magnet_position" getter="get_magnet_position" default="Vector3(0, 0, 0)">
|
|
</member>
|
|
<member name="max_iterations" type="int" setter="set_max_iterations" getter="get_max_iterations" default="10">
|
|
</member>
|
|
<member name="min_distance" type="float" setter="set_min_distance" getter="get_min_distance" default="0.01">
|
|
</member>
|
|
<member name="override_tip_basis" type="bool" setter="set_override_tip_basis" getter="is_override_tip_basis" default="true">
|
|
</member>
|
|
<member name="root_bone" type="StringName" setter="set_root_bone" getter="get_root_bone" default="&""">
|
|
</member>
|
|
<member name="target" type="Transform3D" setter="set_target_transform" getter="get_target_transform" default="Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)">
|
|
</member>
|
|
<member name="target_node" type="NodePath" setter="set_target_node" getter="get_target_node" default="NodePath("")">
|
|
</member>
|
|
<member name="tip_bone" type="StringName" setter="set_tip_bone" getter="get_tip_bone" default="&""">
|
|
</member>
|
|
<member name="use_magnet" type="bool" setter="set_use_magnet" getter="is_using_magnet" default="false">
|
|
</member>
|
|
</members>
|
|
</class>
|