PhysicsServer3DRenderingServerHandler
继承: Object
A class used to provide PhysicsServer3DExtension._soft_body_update_rendering_server with a rendering handler for soft bodies.
方法
void | _set_aabb ( aabb: AABB ) virtual1 |
void | _set_normal ( vertex_id: int, normal: Vector3 ) virtual1 |
void | _set_vertex ( vertex_id: int, vertex: Vector3 ) virtual1 |
void | set_aabb ( aabb: AABB ) |
void | set_normal ( vertex_id: int, normal: Vector3 ) |
void | set_vertex ( vertex_id: int, vertex: Vector3 ) |
方法说明
void _set_aabb ( aabb: AABB ) virtual1
Called by the PhysicsServer3D to set the bounding box for the SoftBody3D.
void _set_normal ( vertex_id: int, normal: Vector3 ) virtual1
Called by the PhysicsServer3D to set the normal for the SoftBody3D vertex at the index specified by vertex_id.
Note: The normal parameter used to be of type const void* prior to Godot 4.2.
void _set_vertex ( vertex_id: int, vertex: Vector3 ) virtual1
Called by the PhysicsServer3D to set the position for the SoftBody3D vertex at the index specified by vertex_id.
Note: The vertex parameter used to be of type const void* prior to Godot 4.2.
void set_aabb ( aabb: AABB )
Sets the bounding box for the SoftBody3D.
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.
本方法通常需要用户覆盖才能生效。
本方法无副作用,不会修改该实例的任何成员变量。
本方法除了能接受在此处描述的参数外,还能够继续接受任意数量的参数。
本方法用于构造某个类型。
调用本方法无需实例,可直接使用类名进行调用。
本方法描述的是使用本类型作为左操作数的有效运算符。
这个值是由下列位标志构成位掩码的整数。
无返回值。