Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
PhysicsServer3DRenderingServerHandler
繼承: Object
用於為 PhysicsServer3DExtension._soft_body_update_rendering_server() 提供柔體算繪處理器的類。
方法
void |
|
void |
_set_normal(vertex_id: int, normal: Vector3) virtual required |
void |
_set_vertex(vertex_id: int, vertex: Vector3) virtual required |
void |
|
void |
set_normal(vertex_id: int, normal: Vector3) |
void |
set_vertex(vertex_id: int, vertex: Vector3) |
方法說明
void _set_aabb(aabb: AABB) virtual required 🔗
由 PhysicsServer3D 呼叫設定 SoftBody3D 的邊界框。
void _set_normal(vertex_id: int, normal: Vector3) virtual required 🔗
由 PhysicsServer3D 呼叫,以在 vertex_id 指定的索引處設定 SoftBody3D 頂點的法線。
注意: 在 Godot 4.2 之前,normal 參數的型別為 const void*。
void _set_vertex(vertex_id: int, vertex: Vector3) virtual required 🔗
由 PhysicsServer3D 呼叫,以在 vertex_id 指定的索引處設定 SoftBody3D 頂點的位置。
注意: 在 Godot 4.2 之前,vertex 參數的型別為 const void*。
返回文字邊界框的大小。
void set_normal(vertex_id: int, normal: Vector3) 🔗
Sets the normal for the SoftBody3D vertex at the index specified by vertex_id.
void set_vertex(vertex_id: int, vertex: Vector3) 🔗
Sets the position for the SoftBody3D vertex at the index specified by vertex_id.