class_editorfeatureprofile.rst 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the EditorFeatureProfile.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_EditorFeatureProfile:
  6. EditorFeatureProfile
  7. ====================
  8. **Inherits:** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Methods
  10. -------
  11. +---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  12. | :ref:`String<class_String>` | :ref:`get_feature_name<class_EditorFeatureProfile_method_get_feature_name>` **(** :ref:`Feature<enum_EditorFeatureProfile_Feature>` feature **)** |
  13. +---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  14. | :ref:`bool<class_bool>` | :ref:`is_class_disabled<class_EditorFeatureProfile_method_is_class_disabled>` **(** :ref:`StringName<class_StringName>` class_name **)** const |
  15. +---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  16. | :ref:`bool<class_bool>` | :ref:`is_class_editor_disabled<class_EditorFeatureProfile_method_is_class_editor_disabled>` **(** :ref:`StringName<class_StringName>` class_name **)** const |
  17. +---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  18. | :ref:`bool<class_bool>` | :ref:`is_class_property_disabled<class_EditorFeatureProfile_method_is_class_property_disabled>` **(** :ref:`StringName<class_StringName>` class_name, :ref:`StringName<class_StringName>` property **)** const |
  19. +---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  20. | :ref:`bool<class_bool>` | :ref:`is_feature_disabled<class_EditorFeatureProfile_method_is_feature_disabled>` **(** :ref:`Feature<enum_EditorFeatureProfile_Feature>` feature **)** const |
  21. +---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  22. | :ref:`Error<enum_@GlobalScope_Error>` | :ref:`load_from_file<class_EditorFeatureProfile_method_load_from_file>` **(** :ref:`String<class_String>` path **)** |
  23. +---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  24. | :ref:`Error<enum_@GlobalScope_Error>` | :ref:`save_to_file<class_EditorFeatureProfile_method_save_to_file>` **(** :ref:`String<class_String>` path **)** |
  25. +---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  26. | void | :ref:`set_disable_class<class_EditorFeatureProfile_method_set_disable_class>` **(** :ref:`StringName<class_StringName>` class_name, :ref:`bool<class_bool>` disable **)** |
  27. +---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  28. | void | :ref:`set_disable_class_editor<class_EditorFeatureProfile_method_set_disable_class_editor>` **(** :ref:`StringName<class_StringName>` class_name, :ref:`bool<class_bool>` disable **)** |
  29. +---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  30. | void | :ref:`set_disable_class_property<class_EditorFeatureProfile_method_set_disable_class_property>` **(** :ref:`StringName<class_StringName>` class_name, :ref:`StringName<class_StringName>` property, :ref:`bool<class_bool>` disable **)** |
  31. +---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  32. | void | :ref:`set_disable_feature<class_EditorFeatureProfile_method_set_disable_feature>` **(** :ref:`Feature<enum_EditorFeatureProfile_Feature>` feature, :ref:`bool<class_bool>` disable **)** |
  33. +---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  34. Enumerations
  35. ------------
  36. .. _enum_EditorFeatureProfile_Feature:
  37. .. _class_EditorFeatureProfile_constant_FEATURE_3D:
  38. .. _class_EditorFeatureProfile_constant_FEATURE_SCRIPT:
  39. .. _class_EditorFeatureProfile_constant_FEATURE_ASSET_LIB:
  40. .. _class_EditorFeatureProfile_constant_FEATURE_SCENE_TREE:
  41. .. _class_EditorFeatureProfile_constant_FEATURE_IMPORT_DOCK:
  42. .. _class_EditorFeatureProfile_constant_FEATURE_NODE_DOCK:
  43. .. _class_EditorFeatureProfile_constant_FEATURE_FILESYSTEM_DOCK:
  44. .. _class_EditorFeatureProfile_constant_FEATURE_MAX:
  45. enum **Feature**:
  46. - **FEATURE_3D** = **0**
  47. - **FEATURE_SCRIPT** = **1**
  48. - **FEATURE_ASSET_LIB** = **2**
  49. - **FEATURE_SCENE_TREE** = **3**
  50. - **FEATURE_IMPORT_DOCK** = **4**
  51. - **FEATURE_NODE_DOCK** = **5**
  52. - **FEATURE_FILESYSTEM_DOCK** = **6**
  53. - **FEATURE_MAX** = **7** --- Represents the size of the :ref:`Feature<enum_EditorFeatureProfile_Feature>` enum.
  54. Method Descriptions
  55. -------------------
  56. .. _class_EditorFeatureProfile_method_get_feature_name:
  57. - :ref:`String<class_String>` **get_feature_name** **(** :ref:`Feature<enum_EditorFeatureProfile_Feature>` feature **)**
  58. ----
  59. .. _class_EditorFeatureProfile_method_is_class_disabled:
  60. - :ref:`bool<class_bool>` **is_class_disabled** **(** :ref:`StringName<class_StringName>` class_name **)** const
  61. ----
  62. .. _class_EditorFeatureProfile_method_is_class_editor_disabled:
  63. - :ref:`bool<class_bool>` **is_class_editor_disabled** **(** :ref:`StringName<class_StringName>` class_name **)** const
  64. ----
  65. .. _class_EditorFeatureProfile_method_is_class_property_disabled:
  66. - :ref:`bool<class_bool>` **is_class_property_disabled** **(** :ref:`StringName<class_StringName>` class_name, :ref:`StringName<class_StringName>` property **)** const
  67. ----
  68. .. _class_EditorFeatureProfile_method_is_feature_disabled:
  69. - :ref:`bool<class_bool>` **is_feature_disabled** **(** :ref:`Feature<enum_EditorFeatureProfile_Feature>` feature **)** const
  70. ----
  71. .. _class_EditorFeatureProfile_method_load_from_file:
  72. - :ref:`Error<enum_@GlobalScope_Error>` **load_from_file** **(** :ref:`String<class_String>` path **)**
  73. ----
  74. .. _class_EditorFeatureProfile_method_save_to_file:
  75. - :ref:`Error<enum_@GlobalScope_Error>` **save_to_file** **(** :ref:`String<class_String>` path **)**
  76. ----
  77. .. _class_EditorFeatureProfile_method_set_disable_class:
  78. - void **set_disable_class** **(** :ref:`StringName<class_StringName>` class_name, :ref:`bool<class_bool>` disable **)**
  79. ----
  80. .. _class_EditorFeatureProfile_method_set_disable_class_editor:
  81. - void **set_disable_class_editor** **(** :ref:`StringName<class_StringName>` class_name, :ref:`bool<class_bool>` disable **)**
  82. ----
  83. .. _class_EditorFeatureProfile_method_set_disable_class_property:
  84. - void **set_disable_class_property** **(** :ref:`StringName<class_StringName>` class_name, :ref:`StringName<class_StringName>` property, :ref:`bool<class_bool>` disable **)**
  85. ----
  86. .. _class_EditorFeatureProfile_method_set_disable_feature:
  87. - void **set_disable_feature** **(** :ref:`Feature<enum_EditorFeatureProfile_Feature>` feature, :ref:`bool<class_bool>` disable **)**