2022-03-14 15:52:03 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-07-06 10:08:05 +02:00
|
|
|
<class name="PhysicsServer3DRenderingServerHandler" inherits="Object" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2022-03-14 15:52:03 +01:00
|
|
|
<brief_description>
|
2023-04-28 22:59:03 +02:00
|
|
|
A class used to provide [method PhysicsServer3DExtension._soft_body_update_rendering_server] with a rendering handler for soft bodies.
|
2022-03-14 15:52:03 +01:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="_set_aabb" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
2022-08-06 20:11:48 +02:00
|
|
|
<param index="0" name="aabb" type="AABB" />
|
2022-03-14 15:52:03 +01:00
|
|
|
<description>
|
2023-09-19 22:20:39 +02:00
|
|
|
Called by the [PhysicsServer3D] to set the bounding box for the [SoftBody3D].
|
2022-03-14 15:52:03 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="_set_normal" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
2022-08-06 20:11:48 +02:00
|
|
|
<param index="0" name="vertex_id" type="int" />
|
2023-09-19 22:20:39 +02:00
|
|
|
<param index="1" name="normal" type="Vector3" />
|
2022-03-14 15:52:03 +01:00
|
|
|
<description>
|
2023-09-19 22:20:39 +02:00
|
|
|
Called by the [PhysicsServer3D] to set the normal for the [SoftBody3D] vertex at the index specified by [param vertex_id].
|
|
|
|
[b]Note:[/b] The [param normal] parameter used to be of type [code]const void*[/code] prior to Godot 4.2.
|
2022-03-14 15:52:03 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="_set_vertex" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
2022-08-06 20:11:48 +02:00
|
|
|
<param index="0" name="vertex_id" type="int" />
|
2023-09-19 22:20:39 +02:00
|
|
|
<param index="1" name="vertex" type="Vector3" />
|
2022-03-14 15:52:03 +01:00
|
|
|
<description>
|
2023-09-19 22:20:39 +02:00
|
|
|
Called by the [PhysicsServer3D] to set the position for the [SoftBody3D] vertex at the index specified by [param vertex_id].
|
|
|
|
[b]Note:[/b] The [param vertex] parameter used to be of type [code]const void*[/code] prior to Godot 4.2.
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_aabb">
|
|
|
|
<return type="void" />
|
|
|
|
<param index="0" name="aabb" type="AABB" />
|
|
|
|
<description>
|
|
|
|
Sets the bounding box for the [SoftBody3D].
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_normal">
|
|
|
|
<return type="void" />
|
|
|
|
<param index="0" name="vertex_id" type="int" />
|
|
|
|
<param index="1" name="normal" type="Vector3" />
|
|
|
|
<description>
|
|
|
|
Sets the normal for the [SoftBody3D] vertex at the index specified by [param vertex_id].
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_vertex">
|
|
|
|
<return type="void" />
|
|
|
|
<param index="0" name="vertex_id" type="int" />
|
|
|
|
<param index="1" name="vertex" type="Vector3" />
|
|
|
|
<description>
|
|
|
|
Sets the position for the [SoftBody3D] vertex at the index specified by [param vertex_id].
|
2022-03-14 15:52:03 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
</class>
|