0.2.0-dev Download ZIP
60 lines ·2.4 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="PhysicsServer3DRenderingServerHandler" inherits="Object" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | A class used to provide [method PhysicsServer3DExtension._soft_body_update_rendering_server] with a rendering handler for soft bodies. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | </description> |
| 8 | <tutorials> |
| 9 | </tutorials> |
| 10 | <methods> |
| 11 | <method name="_set_aabb" qualifiers="virtual required"> |
| 12 | <return type="void" /> |
| 13 | <param index="0" name="aabb" type="AABB" /> |
| 14 | <description> |
| 15 | Called by the [PhysicsServer3D] to set the bounding box for the [SoftBody3D]. |
| 16 | </description> |
| 17 | </method> |
| 18 | <method name="_set_normal" qualifiers="virtual required"> |
| 19 | <return type="void" /> |
| 20 | <param index="0" name="vertex_id" type="int" /> |
| 21 | <param index="1" name="normal" type="Vector3" /> |
| 22 | <description> |
| 23 | Called by the [PhysicsServer3D] to set the normal for the [SoftBody3D] vertex at the index specified by [param vertex_id]. |
| 24 | [b]Note:[/b] The [param normal] parameter used to be of type [code]const void*[/code] prior to Godot 4.2. |
| 25 | </description> |
| 26 | </method> |
| 27 | <method name="_set_vertex" qualifiers="virtual required"> |
| 28 | <return type="void" /> |
| 29 | <param index="0" name="vertex_id" type="int" /> |
| 30 | <param index="1" name="vertex" type="Vector3" /> |
| 31 | <description> |
| 32 | Called by the [PhysicsServer3D] to set the position for the [SoftBody3D] vertex at the index specified by [param vertex_id]. |
| 33 | [b]Note:[/b] The [param vertex] parameter used to be of type [code]const void*[/code] prior to Godot 4.2. |
| 34 | </description> |
| 35 | </method> |
| 36 | <method name="set_aabb"> |
| 37 | <return type="void" /> |
| 38 | <param index="0" name="aabb" type="AABB" /> |
| 39 | <description> |
| 40 | Sets the bounding box for the [SoftBody3D]. |
| 41 | </description> |
| 42 | </method> |
| 43 | <method name="set_normal"> |
| 44 | <return type="void" /> |
| 45 | <param index="0" name="vertex_id" type="int" /> |
| 46 | <param index="1" name="normal" type="Vector3" /> |
| 47 | <description> |
| 48 | Sets the normal for the [SoftBody3D] vertex at the index specified by [param vertex_id]. |
| 49 | </description> |
| 50 | </method> |
| 51 | <method name="set_vertex"> |
| 52 | <return type="void" /> |
| 53 | <param index="0" name="vertex_id" type="int" /> |
| 54 | <param index="1" name="vertex" type="Vector3" /> |
| 55 | <description> |
| 56 | Sets the position for the [SoftBody3D] vertex at the index specified by [param vertex_id]. |
| 57 | </description> |
| 58 | </method> |
| 59 | </methods> |
| 60 | </class> |