mirror of
https://github.com/godotengine/godot-docs-l10n.git
synced 2026-01-05 14:10:19 +03:00
478 lines
22 KiB
ReStructuredText
478 lines
22 KiB
ReStructuredText
:github_url: hide
|
||
|
||
.. DO NOT EDIT THIS FILE!!!
|
||
.. Generated automatically from Godot engine sources.
|
||
.. Generator: https://github.com/godotengine/godot/tree/4.2/doc/tools/make_rst.py.
|
||
.. XML source: https://github.com/godotengine/godot/tree/4.2/doc/classes/SoftBody3D.xml.
|
||
|
||
.. _class_SoftBody3D:
|
||
|
||
SoftBody3D
|
||
==========
|
||
|
||
**继承:** :ref:`MeshInstance3D<class_MeshInstance3D>` **<** :ref:`GeometryInstance3D<class_GeometryInstance3D>` **<** :ref:`VisualInstance3D<class_VisualInstance3D>` **<** :ref:`Node3D<class_Node3D>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
|
||
|
||
可形变的 3D 物理网格。
|
||
|
||
.. rst-class:: classref-introduction-group
|
||
|
||
描述
|
||
----
|
||
|
||
可形变的 3D 物理网格。用于创建弹性或可形变的对象,例如布料、橡胶或其他柔性材质。
|
||
|
||
\ **注意:**\ **SoftBody3D** 中有许多已知的问题。因此,不建议用于可能影响游戏玩法的东西上(例如蹦床)。
|
||
|
||
.. rst-class:: classref-introduction-group
|
||
|
||
教程
|
||
----
|
||
|
||
- :doc:`SoftBody <../tutorials/physics/soft_body>`
|
||
|
||
.. rst-class:: classref-reftable-group
|
||
|
||
属性
|
||
----
|
||
|
||
.. table::
|
||
:widths: auto
|
||
|
||
+-------------------------------------------------+-----------------------------------------------------------------------------------+------------------+
|
||
| :ref:`int<class_int>` | :ref:`collision_layer<class_SoftBody3D_property_collision_layer>` | ``1`` |
|
||
+-------------------------------------------------+-----------------------------------------------------------------------------------+------------------+
|
||
| :ref:`int<class_int>` | :ref:`collision_mask<class_SoftBody3D_property_collision_mask>` | ``1`` |
|
||
+-------------------------------------------------+-----------------------------------------------------------------------------------+------------------+
|
||
| :ref:`float<class_float>` | :ref:`damping_coefficient<class_SoftBody3D_property_damping_coefficient>` | ``0.01`` |
|
||
+-------------------------------------------------+-----------------------------------------------------------------------------------+------------------+
|
||
| :ref:`DisableMode<enum_SoftBody3D_DisableMode>` | :ref:`disable_mode<class_SoftBody3D_property_disable_mode>` | ``0`` |
|
||
+-------------------------------------------------+-----------------------------------------------------------------------------------+------------------+
|
||
| :ref:`float<class_float>` | :ref:`drag_coefficient<class_SoftBody3D_property_drag_coefficient>` | ``0.0`` |
|
||
+-------------------------------------------------+-----------------------------------------------------------------------------------+------------------+
|
||
| :ref:`float<class_float>` | :ref:`linear_stiffness<class_SoftBody3D_property_linear_stiffness>` | ``0.5`` |
|
||
+-------------------------------------------------+-----------------------------------------------------------------------------------+------------------+
|
||
| :ref:`NodePath<class_NodePath>` | :ref:`parent_collision_ignore<class_SoftBody3D_property_parent_collision_ignore>` | ``NodePath("")`` |
|
||
+-------------------------------------------------+-----------------------------------------------------------------------------------+------------------+
|
||
| :ref:`float<class_float>` | :ref:`pressure_coefficient<class_SoftBody3D_property_pressure_coefficient>` | ``0.0`` |
|
||
+-------------------------------------------------+-----------------------------------------------------------------------------------+------------------+
|
||
| :ref:`bool<class_bool>` | :ref:`ray_pickable<class_SoftBody3D_property_ray_pickable>` | ``true`` |
|
||
+-------------------------------------------------+-----------------------------------------------------------------------------------+------------------+
|
||
| :ref:`int<class_int>` | :ref:`simulation_precision<class_SoftBody3D_property_simulation_precision>` | ``5`` |
|
||
+-------------------------------------------------+-----------------------------------------------------------------------------------+------------------+
|
||
| :ref:`float<class_float>` | :ref:`total_mass<class_SoftBody3D_property_total_mass>` | ``1.0`` |
|
||
+-------------------------------------------------+-----------------------------------------------------------------------------------+------------------+
|
||
|
||
.. rst-class:: classref-reftable-group
|
||
|
||
方法
|
||
----
|
||
|
||
.. table::
|
||
:widths: auto
|
||
|
||
+---------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| void | :ref:`add_collision_exception_with<class_SoftBody3D_method_add_collision_exception_with>` **(** :ref:`Node<class_Node>` body **)** |
|
||
+---------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`PhysicsBody3D[]<class_PhysicsBody3D>` | :ref:`get_collision_exceptions<class_SoftBody3D_method_get_collision_exceptions>` **(** **)** |
|
||
+---------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`bool<class_bool>` | :ref:`get_collision_layer_value<class_SoftBody3D_method_get_collision_layer_value>` **(** :ref:`int<class_int>` layer_number **)** |const| |
|
||
+---------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`bool<class_bool>` | :ref:`get_collision_mask_value<class_SoftBody3D_method_get_collision_mask_value>` **(** :ref:`int<class_int>` layer_number **)** |const| |
|
||
+---------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`RID<class_RID>` | :ref:`get_physics_rid<class_SoftBody3D_method_get_physics_rid>` **(** **)** |const| |
|
||
+---------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`Vector3<class_Vector3>` | :ref:`get_point_transform<class_SoftBody3D_method_get_point_transform>` **(** :ref:`int<class_int>` point_index **)** |
|
||
+---------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`bool<class_bool>` | :ref:`is_point_pinned<class_SoftBody3D_method_is_point_pinned>` **(** :ref:`int<class_int>` point_index **)** |const| |
|
||
+---------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| void | :ref:`remove_collision_exception_with<class_SoftBody3D_method_remove_collision_exception_with>` **(** :ref:`Node<class_Node>` body **)** |
|
||
+---------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| void | :ref:`set_collision_layer_value<class_SoftBody3D_method_set_collision_layer_value>` **(** :ref:`int<class_int>` layer_number, :ref:`bool<class_bool>` value **)** |
|
||
+---------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| void | :ref:`set_collision_mask_value<class_SoftBody3D_method_set_collision_mask_value>` **(** :ref:`int<class_int>` layer_number, :ref:`bool<class_bool>` value **)** |
|
||
+---------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| void | :ref:`set_point_pinned<class_SoftBody3D_method_set_point_pinned>` **(** :ref:`int<class_int>` point_index, :ref:`bool<class_bool>` pinned, :ref:`NodePath<class_NodePath>` attachment_path=NodePath("") **)** |
|
||
+---------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
|
||
.. rst-class:: classref-section-separator
|
||
|
||
----
|
||
|
||
.. rst-class:: classref-descriptions-group
|
||
|
||
枚举
|
||
----
|
||
|
||
.. _enum_SoftBody3D_DisableMode:
|
||
|
||
.. rst-class:: classref-enumeration
|
||
|
||
enum **DisableMode**:
|
||
|
||
.. _class_SoftBody3D_constant_DISABLE_MODE_REMOVE:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`DisableMode<enum_SoftBody3D_DisableMode>` **DISABLE_MODE_REMOVE** = ``0``
|
||
|
||
当 :ref:`Node.process_mode<class_Node_property_process_mode>` 被设置为 :ref:`Node.PROCESS_MODE_DISABLED<class_Node_constant_PROCESS_MODE_DISABLED>` 时,从物理仿真中移除,停止与此 **SoftBody3D** 的所有物理交互。
|
||
|
||
当该 :ref:`Node<class_Node>` 再次被处理时,会自动重新加入到物理仿真中。
|
||
|
||
.. _class_SoftBody3D_constant_DISABLE_MODE_KEEP_ACTIVE:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`DisableMode<enum_SoftBody3D_DisableMode>` **DISABLE_MODE_KEEP_ACTIVE** = ``1``
|
||
|
||
当 :ref:`Node.process_mode<class_Node_property_process_mode>` 被设置为 :ref:`Node.PROCESS_MODE_DISABLED<class_Node_constant_PROCESS_MODE_DISABLED>` 时,不影响物理仿真。
|
||
|
||
.. rst-class:: classref-section-separator
|
||
|
||
----
|
||
|
||
.. rst-class:: classref-descriptions-group
|
||
|
||
属性说明
|
||
--------
|
||
|
||
.. _class_SoftBody3D_property_collision_layer:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`int<class_int>` **collision_layer** = ``1``
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- void **set_collision_layer** **(** :ref:`int<class_int>` value **)**
|
||
- :ref:`int<class_int>` **get_collision_layer** **(** **)**
|
||
|
||
该 SoftBody3D **所在**\ 的物理层。碰撞对象可以存在于 32 个不同层中的一个或多个层中。另见 :ref:`collision_mask<class_SoftBody3D_property_collision_mask>`\ 。
|
||
|
||
\ **注意:**\ 只有当对象 B 位于对象 A 扫描的任意层中时,对象 A 才能检测到与对象 B 的接触。有关更多信息,请参阅文档中的\ `《碰撞层与掩码》 <../tutorials/physics/physics_introduction.html#collision-layers-and-masks>`__\ 。
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_property_collision_mask:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`int<class_int>` **collision_mask** = ``1``
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- void **set_collision_mask** **(** :ref:`int<class_int>` value **)**
|
||
- :ref:`int<class_int>` **get_collision_mask** **(** **)**
|
||
|
||
该 SoftBody3D **扫描**\ 的物理层。碰撞对象可以扫描 32 个不同层中的一个或多个层。另见 :ref:`collision_layer<class_SoftBody3D_property_collision_layer>`\ 。
|
||
|
||
\ **注意:**\ 只有当对象 B 位于对象 A 扫描的任何层中时,对象 A 才能检测到与对象 B 的接触。有关更多信息,请参阅文档中的\ `《碰撞层与掩码》 <../tutorials/physics/physics_introduction.html#collision-layers-and-masks>`__\ 。
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_property_damping_coefficient:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **damping_coefficient** = ``0.01``
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- void **set_damping_coefficient** **(** :ref:`float<class_float>` value **)**
|
||
- :ref:`float<class_float>` **get_damping_coefficient** **(** **)**
|
||
|
||
.. container:: contribute
|
||
|
||
目前没有这个属性的描述。请帮我们\ :ref:`贡献一个 <doc_updating_the_class_reference>`\ !
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_property_disable_mode:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`DisableMode<enum_SoftBody3D_DisableMode>` **disable_mode** = ``0``
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- void **set_disable_mode** **(** :ref:`DisableMode<enum_SoftBody3D_DisableMode>` value **)**
|
||
- :ref:`DisableMode<enum_SoftBody3D_DisableMode>` **get_disable_mode** **(** **)**
|
||
|
||
当 :ref:`Node.process_mode<class_Node_property_process_mode>` 被设置为 :ref:`Node.PROCESS_MODE_DISABLED<class_Node_constant_PROCESS_MODE_DISABLED>` 时,定义物理行为。有关不同模式的更多详细信息,请参阅 :ref:`DisableMode<enum_SoftBody3D_DisableMode>`\ 。
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_property_drag_coefficient:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **drag_coefficient** = ``0.0``
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- void **set_drag_coefficient** **(** :ref:`float<class_float>` value **)**
|
||
- :ref:`float<class_float>` **get_drag_coefficient** **(** **)**
|
||
|
||
.. container:: contribute
|
||
|
||
目前没有这个属性的描述。请帮我们\ :ref:`贡献一个 <doc_updating_the_class_reference>`\ !
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_property_linear_stiffness:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **linear_stiffness** = ``0.5``
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- void **set_linear_stiffness** **(** :ref:`float<class_float>` value **)**
|
||
- :ref:`float<class_float>` **get_linear_stiffness** **(** **)**
|
||
|
||
值越大得到的物体约坚硬,较低的值会提高物体的弯曲能力。取值范围为 ``0.0`` 到 ``1.0`` 之间(含端点)。
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_property_parent_collision_ignore:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`NodePath<class_NodePath>` **parent_collision_ignore** = ``NodePath("")``
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- void **set_parent_collision_ignore** **(** :ref:`NodePath<class_NodePath>` value **)**
|
||
- :ref:`NodePath<class_NodePath>` **get_parent_collision_ignore** **(** **)**
|
||
|
||
指向 :ref:`CollisionObject3D<class_CollisionObject3D>` 的 :ref:`NodePath<class_NodePath>`\ ,这个 SoftBody3D 应该避免穿过它。
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_property_pressure_coefficient:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **pressure_coefficient** = ``0.0``
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- void **set_pressure_coefficient** **(** :ref:`float<class_float>` value **)**
|
||
- :ref:`float<class_float>` **get_pressure_coefficient** **(** **)**
|
||
|
||
.. container:: contribute
|
||
|
||
目前没有这个属性的描述。请帮我们\ :ref:`贡献一个 <doc_updating_the_class_reference>`\ !
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_property_ray_pickable:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`bool<class_bool>` **ray_pickable** = ``true``
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- void **set_ray_pickable** **(** :ref:`bool<class_bool>` value **)**
|
||
- :ref:`bool<class_bool>` **is_ray_pickable** **(** **)**
|
||
|
||
如果为 ``true``\ ,则该 **SoftBody3D** 会响应 :ref:`RayCast3D<class_RayCast3D>`\ 。
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_property_simulation_precision:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`int<class_int>` **simulation_precision** = ``5``
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- void **set_simulation_precision** **(** :ref:`int<class_int>` value **)**
|
||
- :ref:`int<class_int>` **get_simulation_precision** **(** **)**
|
||
|
||
增加这个值会改善模拟结果,但会影响性能。请小心使用。
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_property_total_mass:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **total_mass** = ``1.0``
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- void **set_total_mass** **(** :ref:`float<class_float>` value **)**
|
||
- :ref:`float<class_float>` **get_total_mass** **(** **)**
|
||
|
||
该 SoftBody3D 的质量。
|
||
|
||
.. rst-class:: classref-section-separator
|
||
|
||
----
|
||
|
||
.. rst-class:: classref-descriptions-group
|
||
|
||
方法说明
|
||
--------
|
||
|
||
.. _class_SoftBody3D_method_add_collision_exception_with:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
void **add_collision_exception_with** **(** :ref:`Node<class_Node>` body **)**
|
||
|
||
将一个物体添加到这个物体不能碰撞的物体列表中。
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_method_get_collision_exceptions:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`PhysicsBody3D[]<class_PhysicsBody3D>` **get_collision_exceptions** **(** **)**
|
||
|
||
返回该物体的碰撞例外节点数组。
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_method_get_collision_layer_value:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`bool<class_bool>` **get_collision_layer_value** **(** :ref:`int<class_int>` layer_number **)** |const|
|
||
|
||
返回 :ref:`collision_layer<class_SoftBody3D_property_collision_layer>` 中是否启用了指定的层,给定的 ``layer_number`` 应在 1 和 32 之间。
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_method_get_collision_mask_value:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`bool<class_bool>` **get_collision_mask_value** **(** :ref:`int<class_int>` layer_number **)** |const|
|
||
|
||
返回 :ref:`collision_mask<class_SoftBody3D_property_collision_mask>` 中是否启用了指定的层,给定的 ``layer_number`` 应在 1 和 32 之间。
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_method_get_physics_rid:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`RID<class_RID>` **get_physics_rid** **(** **)** |const|
|
||
|
||
.. container:: contribute
|
||
|
||
目前没有这个方法的描述。请帮我们\ :ref:`贡献一个 <doc_updating_the_class_reference>`\ !
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_method_get_point_transform:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`Vector3<class_Vector3>` **get_point_transform** **(** :ref:`int<class_int>` point_index **)**
|
||
|
||
返回表面数组中顶点的局部平移。
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_method_is_point_pinned:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`bool<class_bool>` **is_point_pinned** **(** :ref:`int<class_int>` point_index **)** |const|
|
||
|
||
如果顶点设置为固定,则返回 ``true``\ 。
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_method_remove_collision_exception_with:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
void **remove_collision_exception_with** **(** :ref:`Node<class_Node>` body **)**
|
||
|
||
将一个物体从该物体不能碰撞的物体列表中移除。
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_method_set_collision_layer_value:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
void **set_collision_layer_value** **(** :ref:`int<class_int>` layer_number, :ref:`bool<class_bool>` value **)**
|
||
|
||
根据 ``value``\ ,启用或禁用 :ref:`collision_layer<class_SoftBody3D_property_collision_layer>` 中指定的层,给定的 ``layer_number`` 应在 1 和 32 之间。
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_method_set_collision_mask_value:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
void **set_collision_mask_value** **(** :ref:`int<class_int>` layer_number, :ref:`bool<class_bool>` value **)**
|
||
|
||
根据 ``value``\ ,启用或禁用 :ref:`collision_mask<class_SoftBody3D_property_collision_mask>` 中指定的层,给定的 ``layer_number`` 应在 1 和 32 之间。
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SoftBody3D_method_set_point_pinned:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
void **set_point_pinned** **(** :ref:`int<class_int>` point_index, :ref:`bool<class_bool>` pinned, :ref:`NodePath<class_NodePath>` attachment_path=NodePath("") **)**
|
||
|
||
设置表面顶点的固定状态。当设置为 ``true`` 时,可选的 ``attachment_path`` 可以定义一个 :ref:`Node3D<class_Node3D>`\ ,该固定顶点将被附加到该节点。
|
||
|
||
.. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)`
|
||
.. |const| replace:: :abbr:`const (本方法没有副作用。不会修改该实例的任何成员变量。)`
|
||
.. |vararg| replace:: :abbr:`vararg (本方法除了在此处描述的参数外,还能够继续接受任意数量的参数。)`
|
||
.. |constructor| replace:: :abbr:`constructor (本方法用于构造某个类型。)`
|
||
.. |static| replace:: :abbr:`static (调用本方法无需实例,所以可以直接使用类名调用。)`
|
||
.. |operator| replace:: :abbr:`operator (本方法描述的是使用本类型作为左操作数的有效操作符。)`
|
||
.. |bitfield| replace:: :abbr:`BitField (这个值是由下列标志构成的位掩码整数。)`
|