You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1467 lines
87 KiB

  1. <?xml version="1.0"?>
  2. <doc>
  3. <assembly>
  4. <name>GodotSharpEditor</name>
  5. </assembly>
  6. <members>
  7. <member name="M:Godot.EditorExportPlugin._ExportBegin(System.String[],System.Boolean,System.String,System.Int32)">
  8. <summary>
  9. <para>Virtual method to be overridden by the user. It is called when the export starts and provides all information about the export.</para>
  10. </summary>
  11. </member>
  12. <member name="M:Godot.EditorExportPlugin._ExportEnd">
  13. <summary>
  14. <para>Virtual method to be overridden by the user. Called when the export is finished.</para>
  15. </summary>
  16. </member>
  17. <member name="T:Godot.EditorFeatureProfile">
  18. <summary>
  19. <para>An editor feature profile can be used to disable specific features of the Godot editor. When disabled, the features won't appear in the editor, which makes the editor less cluttered. This is useful in education settings to reduce confusion or when working in a team. For example, artists and level designers could use a feature profile that disables the script editor to avoid accidentally making changes to files they aren't supposed to edit.</para>
  20. <para>To manage editor feature profiles visually, use Editor &gt; Manage Feature Profiles... at the top of the editor window.</para>
  21. </summary>
  22. </member>
  23. <member name="F:Godot.EditorFeatureProfile.Feature.Feature3d">
  24. <summary>
  25. <para>The 3D editor. If this feature is disabled, the 3D editor won't display but 3D nodes will still display in the Create New Node dialog.</para>
  26. </summary>
  27. </member>
  28. <member name="F:Godot.EditorFeatureProfile.Feature.Script">
  29. <summary>
  30. <para>The Script tab, which contains the script editor and class reference browser. If this feature is disabled, the Script tab won't display.</para>
  31. </summary>
  32. </member>
  33. <member name="F:Godot.EditorFeatureProfile.Feature.AssetLib">
  34. <summary>
  35. <para>The AssetLib tab. If this feature is disabled, the AssetLib tab won't display.</para>
  36. </summary>
  37. </member>
  38. <member name="F:Godot.EditorFeatureProfile.Feature.SceneTree">
  39. <summary>
  40. <para>Scene tree editing. If this feature is disabled, the Scene tree dock will still be visible but will be read-only.</para>
  41. </summary>
  42. </member>
  43. <member name="F:Godot.EditorFeatureProfile.Feature.ImportDock">
  44. <summary>
  45. <para>The Import dock. If this feature is disabled, the Import dock won't be visible.</para>
  46. </summary>
  47. </member>
  48. <member name="F:Godot.EditorFeatureProfile.Feature.NodeDock">
  49. <summary>
  50. <para>The Node dock. If this feature is disabled, signals and groups won't be visible and modifiable from the editor.</para>
  51. </summary>
  52. </member>
  53. <member name="F:Godot.EditorFeatureProfile.Feature.FilesystemDock">
  54. <summary>
  55. <para>The FileSystem dock. If this feature is disabled, the FileSystem dock won't be visible.</para>
  56. </summary>
  57. </member>
  58. <member name="F:Godot.EditorFeatureProfile.Feature.Max">
  59. <summary>
  60. <para>Represents the size of the <see cref="T:Godot.EditorFeatureProfile.Feature"/> enum.</para>
  61. </summary>
  62. </member>
  63. <member name="M:Godot.EditorFeatureProfile.SetDisableClass(System.String,System.Boolean)">
  64. <summary>
  65. <para>If <c>disable</c> is <c>true</c>, disables the class specified by <c>class_name</c>. When disabled, the class won't appear in the Create New Node dialog.</para>
  66. </summary>
  67. </member>
  68. <member name="M:Godot.EditorFeatureProfile.IsClassDisabled(System.String)">
  69. <summary>
  70. <para>Returns <c>true</c> if the class specified by <c>class_name</c> is disabled. When disabled, the class won't appear in the Create New Node dialog.</para>
  71. </summary>
  72. </member>
  73. <member name="M:Godot.EditorFeatureProfile.SetDisableClassEditor(System.String,System.Boolean)">
  74. <summary>
  75. <para>If <c>disable</c> is <c>true</c>, disables editing for the class specified by <c>class_name</c>. When disabled, the class will still appear in the Create New Node dialog but the inspector will be read-only when selecting a node that extends the class.</para>
  76. </summary>
  77. </member>
  78. <member name="M:Godot.EditorFeatureProfile.IsClassEditorDisabled(System.String)">
  79. <summary>
  80. <para>Returns <c>true</c> if editing for the class specified by <c>class_name</c> is disabled. When disabled, the class will still appear in the Create New Node dialog but the inspector will be read-only when selecting a node that extends the class.</para>
  81. </summary>
  82. </member>
  83. <member name="M:Godot.EditorFeatureProfile.SetDisableClassProperty(System.String,System.String,System.Boolean)">
  84. <summary>
  85. <para>If <c>disable</c> is <c>true</c>, disables editing for <c>property</c> in the class specified by <c>class_name</c>. When a property is disabled, it won't appear in the inspector when selecting a node that extends the class specified by <c>class_name</c>.</para>
  86. </summary>
  87. </member>
  88. <member name="M:Godot.EditorFeatureProfile.IsClassPropertyDisabled(System.String,System.String)">
  89. <summary>
  90. <para>Returns <c>true</c> if <c>property</c> is disabled in the class specified by <c>class_name</c>. When a property is disabled, it won't appear in the inspector when selecting a node that extends the class specified by <c>class_name</c>.</para>
  91. </summary>
  92. </member>
  93. <member name="M:Godot.EditorFeatureProfile.SetDisableFeature(Godot.EditorFeatureProfile.Feature,System.Boolean)">
  94. <summary>
  95. <para>If <c>disable</c> is <c>true</c>, disables the editor feature specified in <c>feature</c>. When a feature is disabled, it will disappear from the editor entirely.</para>
  96. </summary>
  97. </member>
  98. <member name="M:Godot.EditorFeatureProfile.IsFeatureDisabled(Godot.EditorFeatureProfile.Feature)">
  99. <summary>
  100. <para>Returns <c>true</c> if the <c>feature</c> is disabled. When a feature is disabled, it will disappear from the editor entirely.</para>
  101. </summary>
  102. </member>
  103. <member name="M:Godot.EditorFeatureProfile.GetFeatureName(Godot.EditorFeatureProfile.Feature)">
  104. <summary>
  105. <para>Returns the specified <c>feature</c>'s human-readable name.</para>
  106. </summary>
  107. </member>
  108. <member name="M:Godot.EditorFeatureProfile.SaveToFile(System.String)">
  109. <summary>
  110. <para>Saves the editor feature profile to a file in JSON format. It can then be imported using the feature profile manager's Import button or the <see cref="M:Godot.EditorFeatureProfile.LoadFromFile(System.String)"/> button.</para>
  111. </summary>
  112. </member>
  113. <member name="M:Godot.EditorFeatureProfile.LoadFromFile(System.String)">
  114. <summary>
  115. <para>Loads an editor feature profile from a file. The file must follow the JSON format obtained by using the feature profile manager's Export button or the <see cref="M:Godot.EditorFeatureProfile.SaveToFile(System.String)"/> method.</para>
  116. </summary>
  117. </member>
  118. <member name="F:Godot.EditorFileDialog.DisplayModeEnum.Thumbnails">
  119. <summary>
  120. <para>The <see cref="T:Godot.EditorFileDialog"/> displays resources as thumbnails.</para>
  121. </summary>
  122. </member>
  123. <member name="F:Godot.EditorFileDialog.DisplayModeEnum.List">
  124. <summary>
  125. <para>The <see cref="T:Godot.EditorFileDialog"/> displays resources as a list of filenames.</para>
  126. </summary>
  127. </member>
  128. <member name="F:Godot.EditorFileDialog.ModeEnum.OpenFile">
  129. <summary>
  130. <para>The <see cref="T:Godot.EditorFileDialog"/> can select only one file. Accepting the window will open the file.</para>
  131. </summary>
  132. </member>
  133. <member name="F:Godot.EditorFileDialog.ModeEnum.OpenFiles">
  134. <summary>
  135. <para>The <see cref="T:Godot.EditorFileDialog"/> can select multiple files. Accepting the window will open all files.</para>
  136. </summary>
  137. </member>
  138. <member name="F:Godot.EditorFileDialog.ModeEnum.OpenDir">
  139. <summary>
  140. <para>The <see cref="T:Godot.EditorFileDialog"/> can select only one directory. Accepting the window will open the directory.</para>
  141. </summary>
  142. </member>
  143. <member name="F:Godot.EditorFileDialog.ModeEnum.OpenAny">
  144. <summary>
  145. <para>The <see cref="T:Godot.EditorFileDialog"/> can select a file or directory. Accepting the window will open it.</para>
  146. </summary>
  147. </member>
  148. <member name="F:Godot.EditorFileDialog.ModeEnum.SaveFile">
  149. <summary>
  150. <para>The <see cref="T:Godot.EditorFileDialog"/> can select only one file. Accepting the window will save the file.</para>
  151. </summary>
  152. </member>
  153. <member name="F:Godot.EditorFileDialog.AccessEnum.Resources">
  154. <summary>
  155. <para>The <see cref="T:Godot.EditorFileDialog"/> can only view <c>res://</c> directory contents.</para>
  156. </summary>
  157. </member>
  158. <member name="F:Godot.EditorFileDialog.AccessEnum.Userdata">
  159. <summary>
  160. <para>The <see cref="T:Godot.EditorFileDialog"/> can only view <c>user://</c> directory contents.</para>
  161. </summary>
  162. </member>
  163. <member name="F:Godot.EditorFileDialog.AccessEnum.Filesystem">
  164. <summary>
  165. <para>The <see cref="T:Godot.EditorFileDialog"/> can view the entire local file system.</para>
  166. </summary>
  167. </member>
  168. <member name="P:Godot.EditorFileDialog.Access">
  169. <summary>
  170. <para>The location from which the user may select a file, including <c>res://</c>, <c>user://</c>, and the local file system.</para>
  171. </summary>
  172. </member>
  173. <member name="P:Godot.EditorFileDialog.DisplayMode">
  174. <summary>
  175. <para>The view format in which the <see cref="T:Godot.EditorFileDialog"/> displays resources to the user.</para>
  176. </summary>
  177. </member>
  178. <member name="P:Godot.EditorFileDialog.Mode">
  179. <summary>
  180. <para>The purpose of the <see cref="T:Godot.EditorFileDialog"/>, which defines the allowed behaviors.</para>
  181. </summary>
  182. </member>
  183. <member name="P:Godot.EditorFileDialog.CurrentDir">
  184. <summary>
  185. <para>The currently occupied directory.</para>
  186. </summary>
  187. </member>
  188. <member name="P:Godot.EditorFileDialog.CurrentFile">
  189. <summary>
  190. <para>The currently selected file.</para>
  191. </summary>
  192. </member>
  193. <member name="P:Godot.EditorFileDialog.CurrentPath">
  194. <summary>
  195. <para>The file system path in the address bar.</para>
  196. </summary>
  197. </member>
  198. <member name="P:Godot.EditorFileDialog.ShowHiddenFiles">
  199. <summary>
  200. <para>If <c>true</c>, hidden files and directories will be visible in the <see cref="T:Godot.EditorFileDialog"/>.</para>
  201. </summary>
  202. </member>
  203. <member name="P:Godot.EditorFileDialog.DisableOverwriteWarning">
  204. <summary>
  205. <para>If <c>true</c>, the <see cref="T:Godot.EditorFileDialog"/> will not warn the user before overwriting files.</para>
  206. </summary>
  207. </member>
  208. <member name="M:Godot.EditorFileDialog.ClearFilters">
  209. <summary>
  210. <para>Removes all filters except for "All Files (*)".</para>
  211. </summary>
  212. </member>
  213. <member name="M:Godot.EditorFileDialog.AddFilter(System.String)">
  214. <summary>
  215. <para>Adds a comma-delimited file extension filter option to the <see cref="T:Godot.EditorFileDialog"/> with an optional semi-colon-delimited label.</para>
  216. <para>For example, <c>"*.tscn, *.scn; Scenes"</c> results in filter text "Scenes (*.tscn, *.scn)".</para>
  217. </summary>
  218. </member>
  219. <member name="M:Godot.EditorFileDialog.GetVbox">
  220. <summary>
  221. <para>Returns the <c>VBoxContainer</c> used to display the file system.</para>
  222. </summary>
  223. </member>
  224. <member name="M:Godot.EditorFileDialog.Invalidate">
  225. <summary>
  226. <para>Notify the <see cref="T:Godot.EditorFileDialog"/> that its view of the data is no longer accurate. Updates the view contents on next view update.</para>
  227. </summary>
  228. </member>
  229. <member name="T:Godot.EditorFileSystem">
  230. <summary>
  231. <para>This object holds information of all resources in the filesystem, their types, etc.</para>
  232. <para>Note: This class shouldn't be instantiated directly. Instead, access the singleton using <see cref="M:Godot.EditorInterface.GetResourceFilesystem"/>.</para>
  233. </summary>
  234. </member>
  235. <member name="M:Godot.EditorFileSystem.GetFilesystem">
  236. <summary>
  237. <para>Gets the root directory object.</para>
  238. </summary>
  239. </member>
  240. <member name="M:Godot.EditorFileSystem.IsScanning">
  241. <summary>
  242. <para>Returns <c>true</c> of the filesystem is being scanned.</para>
  243. </summary>
  244. </member>
  245. <member name="M:Godot.EditorFileSystem.GetScanningProgress">
  246. <summary>
  247. <para>Returns the scan progress for 0 to 1 if the FS is being scanned.</para>
  248. </summary>
  249. </member>
  250. <member name="M:Godot.EditorFileSystem.Scan">
  251. <summary>
  252. <para>Scan the filesystem for changes.</para>
  253. </summary>
  254. </member>
  255. <member name="M:Godot.EditorFileSystem.ScanSources">
  256. <summary>
  257. <para>Check if the source of any imported resource changed.</para>
  258. </summary>
  259. </member>
  260. <member name="M:Godot.EditorFileSystem.UpdateFile(System.String)">
  261. <summary>
  262. <para>Update a file information. Call this if an external program (not Godot) modified the file.</para>
  263. </summary>
  264. </member>
  265. <member name="M:Godot.EditorFileSystem.GetFilesystemPath(System.String)">
  266. <summary>
  267. <para>Returns a view into the filesystem at <c>path</c>.</para>
  268. </summary>
  269. </member>
  270. <member name="M:Godot.EditorFileSystem.GetFileType(System.String)">
  271. <summary>
  272. <para>Gets the type of the file, given the full path.</para>
  273. </summary>
  274. </member>
  275. <member name="M:Godot.EditorFileSystem.UpdateScriptClasses">
  276. <summary>
  277. <para>Scans the script files and updates the list of custom class names.</para>
  278. </summary>
  279. </member>
  280. <member name="T:Godot.EditorFileSystemDirectory">
  281. <summary>
  282. <para>A more generalized, low-level variation of the directory concept.</para>
  283. </summary>
  284. </member>
  285. <member name="M:Godot.EditorFileSystemDirectory.GetSubdirCount">
  286. <summary>
  287. <para>Returns the number of subdirectories in this directory.</para>
  288. </summary>
  289. </member>
  290. <member name="M:Godot.EditorFileSystemDirectory.GetSubdir(System.Int32)">
  291. <summary>
  292. <para>Returns the subdirectory at index <c>idx</c>.</para>
  293. </summary>
  294. </member>
  295. <member name="M:Godot.EditorFileSystemDirectory.GetFileCount">
  296. <summary>
  297. <para>Returns the number of files in this directory.</para>
  298. </summary>
  299. </member>
  300. <member name="M:Godot.EditorFileSystemDirectory.GetFile(System.Int32)">
  301. <summary>
  302. <para>Returns the name of the file at index <c>idx</c>.</para>
  303. </summary>
  304. </member>
  305. <member name="M:Godot.EditorFileSystemDirectory.GetFilePath(System.Int32)">
  306. <summary>
  307. <para>Returns the path to the file at index <c>idx</c>.</para>
  308. </summary>
  309. </member>
  310. <member name="M:Godot.EditorFileSystemDirectory.GetFileType(System.Int32)">
  311. <summary>
  312. <para>Returns the file extension of the file at index <c>idx</c>.</para>
  313. </summary>
  314. </member>
  315. <member name="M:Godot.EditorFileSystemDirectory.GetFileImportIsValid(System.Int32)">
  316. <summary>
  317. <para>Returns <c>true</c> if the file at index <c>idx</c> imported properly.</para>
  318. </summary>
  319. </member>
  320. <member name="M:Godot.EditorFileSystemDirectory.GetName">
  321. <summary>
  322. <para>Returns the name of this directory.</para>
  323. </summary>
  324. </member>
  325. <member name="M:Godot.EditorFileSystemDirectory.GetPath">
  326. <summary>
  327. <para>Returns the path to this directory.</para>
  328. </summary>
  329. </member>
  330. <member name="M:Godot.EditorFileSystemDirectory.GetParent">
  331. <summary>
  332. <para>Returns the parent directory for this directory or <c>null</c> if called on a directory at <c>res://</c> or <c>user://</c>.</para>
  333. </summary>
  334. </member>
  335. <member name="M:Godot.EditorFileSystemDirectory.FindFileIndex(System.String)">
  336. <summary>
  337. <para>Returns the index of the file with name <c>name</c> or <c>-1</c> if not found.</para>
  338. </summary>
  339. </member>
  340. <member name="M:Godot.EditorFileSystemDirectory.FindDirIndex(System.String)">
  341. <summary>
  342. <para>Returns the index of the directory with name <c>name</c> or <c>-1</c> if not found.</para>
  343. </summary>
  344. </member>
  345. <member name="T:Godot.EditorImportPlugin">
  346. <summary>
  347. <para>EditorImportPlugins provide a way to extend the editor's resource import functionality. Use them to import resources from custom files or to provide alternatives to the editor's existing importers. Register your <see cref="T:Godot.EditorPlugin"/> with <see cref="M:Godot.EditorPlugin.AddImportPlugin(Godot.EditorImportPlugin)"/>.</para>
  348. <para>EditorImportPlugins work by associating with specific file extensions and a resource type. See <see cref="M:Godot.EditorImportPlugin.GetRecognizedExtensions"/> and <see cref="M:Godot.EditorImportPlugin.GetResourceType"/>. They may optionally specify some import presets that affect the import process. EditorImportPlugins are responsible for creating the resources and saving them in the <c>.import</c> directory.</para>
  349. <para>Below is an example EditorImportPlugin that imports a <see cref="T:Godot.Mesh"/> from a file with the extension ".special" or ".spec":</para>
  350. <para><code>
  351. tool
  352. extends EditorImportPlugin
  353. func get_importer_name():
  354. return "my.special.plugin"
  355. func get_visible_name():
  356. return "Special Mesh Importer"
  357. func get_recognized_extensions():
  358. return ["special", "spec"]
  359. func get_save_extension():
  360. return "mesh"
  361. func get_resource_type():
  362. return "Mesh"
  363. func get_preset_count():
  364. return 1
  365. func get_preset_name(i):
  366. return "Default"
  367. func get_import_options(i):
  368. return [{"name": "my_option", "default_value": false}]
  369. func import(source_file, save_path, options, platform_variants, gen_files):
  370. var file = File.new()
  371. if file.open(source_file, File.READ) != OK:
  372. return FAILED
  373. var mesh = Mesh.new()
  374. # Fill the Mesh with data read in "file", left as an exercise to the reader
  375. var filename = save_path + "." + get_save_extension()
  376. ResourceSaver.save(filename, mesh)
  377. return OK
  378. </code></para>
  379. </summary>
  380. </member>
  381. <member name="M:Godot.EditorImportPlugin.GetImportOptions(System.Int32)">
  382. <summary>
  383. <para>Gets the options and default values for the preset at this index. Returns an Array of Dictionaries with the following keys: <c>name</c>, <c>default_value</c>, <c>property_hint</c> (optional), <c>hint_string</c> (optional), <c>usage</c> (optional).</para>
  384. </summary>
  385. </member>
  386. <member name="M:Godot.EditorImportPlugin.GetImportOrder">
  387. <summary>
  388. <para>Gets the order of this importer to be run when importing resources. Higher values will be called later. Use this to ensure the importer runs after the dependencies are already imported.</para>
  389. </summary>
  390. </member>
  391. <member name="M:Godot.EditorImportPlugin.GetImporterName">
  392. <summary>
  393. <para>Gets the unique name of the importer.</para>
  394. </summary>
  395. </member>
  396. <member name="M:Godot.EditorImportPlugin.GetPresetCount">
  397. <summary>
  398. <para>Gets the number of initial presets defined by the plugin. Use <see cref="M:Godot.EditorImportPlugin.GetImportOptions(System.Int32)"/> to get the default options for the preset and <see cref="M:Godot.EditorImportPlugin.GetPresetName(System.Int32)"/> to get the name of the preset.</para>
  399. </summary>
  400. </member>
  401. <member name="M:Godot.EditorImportPlugin.GetPresetName(System.Int32)">
  402. <summary>
  403. <para>Gets the name of the options preset at this index.</para>
  404. </summary>
  405. </member>
  406. <member name="M:Godot.EditorImportPlugin.GetPriority">
  407. <summary>
  408. <para>Gets the priority of this plugin for the recognized extension. Higher priority plugins will be preferred. The default priority is <c>1.0</c>.</para>
  409. </summary>
  410. </member>
  411. <member name="M:Godot.EditorImportPlugin.GetRecognizedExtensions">
  412. <summary>
  413. <para>Gets the list of file extensions to associate with this loader (case-insensitive). e.g. <c>["obj"]</c>.</para>
  414. </summary>
  415. </member>
  416. <member name="M:Godot.EditorImportPlugin.GetResourceType">
  417. <summary>
  418. <para>Gets the Godot resource type associated with this loader. e.g. <c>"Mesh"</c> or <c>"Animation"</c>.</para>
  419. </summary>
  420. </member>
  421. <member name="M:Godot.EditorImportPlugin.GetSaveExtension">
  422. <summary>
  423. <para>Gets the extension used to save this resource in the <c>.import</c> directory.</para>
  424. </summary>
  425. </member>
  426. <member name="M:Godot.EditorImportPlugin.GetVisibleName">
  427. <summary>
  428. <para>Gets the name to display in the import window.</para>
  429. </summary>
  430. </member>
  431. <member name="T:Godot.EditorInspector">
  432. <summary>
  433. <para>The editor inspector is by default located on the right-hand side of the editor. It's used to edit the properties of the selected node. For example, you can select a node such as <see cref="T:Godot.Sprite"/> then edit its transform through the inspector tool. The editor inspector is an essential tool in the game development workflow.</para>
  434. <para>Note: This class shouldn't be instantiated directly. Instead, access the singleton using <see cref="M:Godot.EditorInterface.GetInspector"/>.</para>
  435. </summary>
  436. </member>
  437. <member name="T:Godot.EditorInspectorPlugin">
  438. <summary>
  439. <para>This plugins allows adding custom property editors to <see cref="T:Godot.EditorInspector"/>.</para>
  440. <para>Plugins are registered via <see cref="M:Godot.EditorPlugin.AddInspectorPlugin(Godot.EditorInspectorPlugin)"/>.</para>
  441. <para>When an object is edited, the <see cref="M:Godot.EditorInspectorPlugin.CanHandle(Godot.Object)"/> function is called and must return <c>true</c> if the object type is supported.</para>
  442. <para>If supported, the function <see cref="M:Godot.EditorInspectorPlugin.ParseBegin(Godot.Object)"/> will be called, allowing to place custom controls at the beginning of the class.</para>
  443. <para>Subsequently, the <see cref="M:Godot.EditorInspectorPlugin.ParseCategory(Godot.Object,System.String)"/> and <see cref="M:Godot.EditorInspectorPlugin.ParseProperty(Godot.Object,System.Int32,System.String,System.Int32,System.String,System.Int32)"/> are called for every category and property. They offer the ability to add custom controls to the inspector too.</para>
  444. <para>Finally <see cref="M:Godot.EditorInspectorPlugin.ParseEnd"/> will be called.</para>
  445. <para>On each of these calls, the "add" functions can be called.</para>
  446. </summary>
  447. </member>
  448. <member name="M:Godot.EditorInspectorPlugin.CanHandle(Godot.Object)">
  449. <summary>
  450. <para>Returns <c>true</c> if this object can be handled by this plugin.</para>
  451. </summary>
  452. </member>
  453. <member name="M:Godot.EditorInspectorPlugin.ParseBegin(Godot.Object)">
  454. <summary>
  455. <para>Called to allow adding controls at the beginning of the list.</para>
  456. </summary>
  457. </member>
  458. <member name="M:Godot.EditorInspectorPlugin.ParseCategory(Godot.Object,System.String)">
  459. <summary>
  460. <para>Called to allow adding controls at the beginning of the category.</para>
  461. </summary>
  462. </member>
  463. <member name="M:Godot.EditorInspectorPlugin.ParseEnd">
  464. <summary>
  465. <para>Called to allow adding controls at the end of the list.</para>
  466. </summary>
  467. </member>
  468. <member name="M:Godot.EditorInspectorPlugin.ParseProperty(Godot.Object,System.Int32,System.String,System.Int32,System.String,System.Int32)">
  469. <summary>
  470. <para>Called to allow adding property specific editors to the inspector. Usually these inherit <see cref="T:Godot.EditorProperty"/>. Returning <c>true</c> removes the built-in editor for this property, otherwise allows to insert a custom editor before the built-in one.</para>
  471. </summary>
  472. </member>
  473. <member name="M:Godot.EditorInspectorPlugin.AddCustomControl(Godot.Control)">
  474. <summary>
  475. <para>Adds a custom control, not necessarily a property editor.</para>
  476. </summary>
  477. </member>
  478. <member name="M:Godot.EditorInspectorPlugin.AddPropertyEditor(System.String,Godot.Control)">
  479. <summary>
  480. <para>Adds a property editor, this must inherit <see cref="T:Godot.EditorProperty"/>.</para>
  481. </summary>
  482. </member>
  483. <member name="M:Godot.EditorInspectorPlugin.AddPropertyEditorForMultipleProperties(System.String,System.String[],Godot.Control)">
  484. <summary>
  485. <para>Adds an editor that allows modifying multiple properties, this must inherit <see cref="T:Godot.EditorProperty"/>.</para>
  486. </summary>
  487. </member>
  488. <member name="T:Godot.EditorInterface">
  489. <summary>
  490. <para>EditorInterface gives you control over Godot editor's window. It allows customizing the window, saving and (re-)loading scenes, rendering mesh previews, inspecting and editing resources and objects, and provides access to <see cref="T:Godot.EditorSettings"/>, <see cref="T:Godot.EditorFileSystem"/>, <see cref="T:Godot.EditorResourcePreview"/>, <see cref="T:Godot.ScriptEditor"/>, the editor viewport, and information about scenes.</para>
  491. <para>Note: This class shouldn't be instantiated directly. Instead, access the singleton using <see cref="M:Godot.EditorPlugin.GetEditorInterface"/>.</para>
  492. </summary>
  493. </member>
  494. <member name="M:Godot.EditorInterface.InspectObject(Godot.Object,System.String)">
  495. <summary>
  496. <para>Shows the given property on the given <c>object</c> in the Editor's Inspector dock.</para>
  497. </summary>
  498. </member>
  499. <member name="M:Godot.EditorInterface.GetSelection">
  500. <summary>
  501. <para>Returns the <see cref="T:Godot.EditorSelection"/>.</para>
  502. </summary>
  503. </member>
  504. <member name="M:Godot.EditorInterface.GetEditorSettings">
  505. <summary>
  506. <para>Returns the <see cref="T:Godot.EditorSettings"/>.</para>
  507. </summary>
  508. </member>
  509. <member name="M:Godot.EditorInterface.GetScriptEditor">
  510. <summary>
  511. <para>Returns the <see cref="T:Godot.ScriptEditor"/>.</para>
  512. </summary>
  513. </member>
  514. <member name="M:Godot.EditorInterface.GetBaseControl">
  515. <summary>
  516. <para>Returns the main container of Godot editor's window. You can use it, for example, to retrieve the size of the container and place your controls accordingly.</para>
  517. </summary>
  518. </member>
  519. <member name="M:Godot.EditorInterface.EditResource(Godot.Resource)">
  520. <summary>
  521. <para>Edits the given <see cref="T:Godot.Resource"/>.</para>
  522. </summary>
  523. </member>
  524. <member name="M:Godot.EditorInterface.OpenSceneFromPath(System.String)">
  525. <summary>
  526. <para>Opens the scene at the given path.</para>
  527. </summary>
  528. </member>
  529. <member name="M:Godot.EditorInterface.ReloadSceneFromPath(System.String)">
  530. <summary>
  531. <para>Reloads the scene at the given path.</para>
  532. </summary>
  533. </member>
  534. <member name="M:Godot.EditorInterface.GetOpenScenes">
  535. <summary>
  536. <para>Returns an <see cref="T:Godot.Collections.Array"/> with the file paths of the currently opened scenes.</para>
  537. </summary>
  538. </member>
  539. <member name="M:Godot.EditorInterface.GetEditedSceneRoot">
  540. <summary>
  541. <para>Returns the edited (current) scene's root <see cref="T:Godot.Node"/>.</para>
  542. </summary>
  543. </member>
  544. <member name="M:Godot.EditorInterface.GetResourcePreviewer">
  545. <summary>
  546. <para>Returns the <see cref="T:Godot.EditorResourcePreview"/>.</para>
  547. </summary>
  548. </member>
  549. <member name="M:Godot.EditorInterface.GetResourceFilesystem">
  550. <summary>
  551. <para>Returns the <see cref="T:Godot.EditorFileSystem"/>.</para>
  552. </summary>
  553. </member>
  554. <member name="M:Godot.EditorInterface.GetEditorViewport">
  555. <summary>
  556. <para>Returns the editor <see cref="T:Godot.Viewport"/>.</para>
  557. </summary>
  558. </member>
  559. <member name="M:Godot.EditorInterface.MakeMeshPreviews(Godot.Collections.Array,System.Int32)">
  560. <summary>
  561. <para>Returns mesh previews rendered at the given size as an <see cref="T:Godot.Collections.Array"/> of <see cref="T:Godot.Texture"/>s.</para>
  562. </summary>
  563. </member>
  564. <member name="M:Godot.EditorInterface.SelectFile(System.String)">
  565. <summary>
  566. <para>Selects the file, with the path provided by <c>file</c>, in the FileSystem dock.</para>
  567. </summary>
  568. </member>
  569. <member name="M:Godot.EditorInterface.SetPluginEnabled(System.String,System.Boolean)">
  570. <summary>
  571. <para>Sets the enabled status of a plugin. The plugin name is the same as its directory name.</para>
  572. </summary>
  573. </member>
  574. <member name="M:Godot.EditorInterface.IsPluginEnabled(System.String)">
  575. <summary>
  576. <para>Returns the enabled status of a plugin. The plugin name is the same as its directory name.</para>
  577. </summary>
  578. </member>
  579. <member name="M:Godot.EditorInterface.SaveScene">
  580. <summary>
  581. <para>Saves the scene. Returns either <c>OK</c> or <c>ERR_CANT_CREATE</c> (see <c>@GlobalScope</c> constants).</para>
  582. </summary>
  583. </member>
  584. <member name="M:Godot.EditorInterface.SaveSceneAs(System.String,System.Boolean)">
  585. <summary>
  586. <para>Saves the scene as a file at <c>path</c>.</para>
  587. </summary>
  588. </member>
  589. <member name="T:Godot.EditorPlugin">
  590. <summary>
  591. <para>Plugins are used by the editor to extend functionality. The most common types of plugins are those which edit a given node or resource type, import plugins and export plugins. See also <see cref="T:Godot.EditorScript"/> to add functions to the editor.</para>
  592. </summary>
  593. </member>
  594. <member name="F:Godot.EditorPlugin.DockSlot.Max">
  595. <summary>
  596. <para>Represents the size of the <see cref="T:Godot.EditorPlugin.DockSlot"/> enum.</para>
  597. </summary>
  598. </member>
  599. <member name="M:Godot.EditorPlugin.ApplyChanges">
  600. <summary>
  601. <para>This method is called when the editor is about to save the project, switch to another tab, etc. It asks the plugin to apply any pending state changes to ensure consistency.</para>
  602. <para>This is used, for example, in shader editors to let the plugin know that it must apply the shader code being written by the user to the object.</para>
  603. </summary>
  604. </member>
  605. <member name="M:Godot.EditorPlugin.Clear">
  606. <summary>
  607. <para>Clear all the state and reset the object being edited to zero. This ensures your plugin does not keep editing a currently existing node, or a node from the wrong scene.</para>
  608. </summary>
  609. </member>
  610. <member name="M:Godot.EditorPlugin.DisablePlugin">
  611. <summary>
  612. <para>Called by the engine when the user disables the <see cref="T:Godot.EditorPlugin"/> in the Plugin tab of the project settings window.</para>
  613. </summary>
  614. </member>
  615. <member name="M:Godot.EditorPlugin.Edit(Godot.Object)">
  616. <summary>
  617. <para>This function is used for plugins that edit specific object types (nodes or resources). It requests the editor to edit the given object.</para>
  618. </summary>
  619. </member>
  620. <member name="M:Godot.EditorPlugin.EnablePlugin">
  621. <summary>
  622. <para>Called by the engine when the user enables the <see cref="T:Godot.EditorPlugin"/> in the Plugin tab of the project settings window.</para>
  623. </summary>
  624. </member>
  625. <member name="M:Godot.EditorPlugin.ForwardCanvasGuiInput(Godot.InputEvent)">
  626. <summary>
  627. <para>Called when there is a root node in the current edited scene, <see cref="M:Godot.EditorPlugin.Handles(Godot.Object)"/> is implemented and an <see cref="T:Godot.InputEvent"/> happens in the 2D viewport. Intercepts the <see cref="T:Godot.InputEvent"/>, if <c>return true</c> <see cref="T:Godot.EditorPlugin"/> consumes the <c>event</c>, otherwise forwards <c>event</c> to other Editor classes. Example:</para>
  628. <para><code>
  629. # Prevents the InputEvent to reach other Editor classes
  630. func forward_canvas_gui_input(event):
  631. var forward = true
  632. return forward
  633. </code></para>
  634. <para>Must <c>return false</c> in order to forward the <see cref="T:Godot.InputEvent"/> to other Editor classes. Example:</para>
  635. <para><code>
  636. # Consumes InputEventMouseMotion and forwards other InputEvent types
  637. func forward_canvas_gui_input(event):
  638. var forward = false
  639. if event is InputEventMouseMotion:
  640. forward = true
  641. return forward
  642. </code></para>
  643. </summary>
  644. </member>
  645. <member name="M:Godot.EditorPlugin.ForwardSpatialGuiInput(Godot.Camera,Godot.InputEvent)">
  646. <summary>
  647. <para>Called when there is a root node in the current edited scene, <see cref="M:Godot.EditorPlugin.Handles(Godot.Object)"/> is implemented and an <see cref="T:Godot.InputEvent"/> happens in the 3D viewport. Intercepts the <see cref="T:Godot.InputEvent"/>, if <c>return true</c> <see cref="T:Godot.EditorPlugin"/> consumes the <c>event</c>, otherwise forwards <c>event</c> to other Editor classes. Example:</para>
  648. <para><code>
  649. # Prevents the InputEvent to reach other Editor classes
  650. func forward_spatial_gui_input(camera, event):
  651. var forward = true
  652. return forward
  653. </code></para>
  654. <para>Must <c>return false</c> in order to forward the <see cref="T:Godot.InputEvent"/> to other Editor classes. Example:</para>
  655. <para><code>
  656. # Consumes InputEventMouseMotion and forwards other InputEvent types
  657. func forward_spatial_gui_input(camera, event):
  658. var forward = false
  659. if event is InputEventMouseMotion:
  660. forward = true
  661. return forward
  662. </code></para>
  663. </summary>
  664. </member>
  665. <member name="M:Godot.EditorPlugin.GetBreakpoints">
  666. <summary>
  667. <para>This is for editors that edit script-based objects. You can return a list of breakpoints in the format (<c>script:line</c>), for example: <c>res://path_to_script.gd:25</c>.</para>
  668. </summary>
  669. </member>
  670. <member name="M:Godot.EditorPlugin.GetPluginIcon">
  671. <summary>
  672. <para>Override this method in your plugin to return a <see cref="T:Godot.Texture"/> in order to give it an icon.</para>
  673. <para>For main screen plugins, this appears at the top of the screen, to the right of the "2D", "3D", "Script", and "AssetLib" buttons.</para>
  674. <para>Ideally, the plugin icon should be white with a transparent background and 16x16 pixels in size.</para>
  675. <para><code>
  676. func get_plugin_icon():
  677. # You can use a custom icon:
  678. return preload("res://addons/my_plugin/my_plugin_icon.svg")
  679. # Or use a built-in icon:
  680. return get_editor_interface().get_base_control().get_icon("Node", "EditorIcons")
  681. </code></para>
  682. </summary>
  683. </member>
  684. <member name="M:Godot.EditorPlugin.GetPluginName">
  685. <summary>
  686. <para>Override this method in your plugin to provide the name of the plugin when displayed in the Godot editor.</para>
  687. <para>For main screen plugins, this appears at the top of the screen, to the right of the "2D", "3D", "Script", and "AssetLib" buttons.</para>
  688. </summary>
  689. </member>
  690. <member name="M:Godot.EditorPlugin.GetState">
  691. <summary>
  692. <para>Gets the state of your plugin editor. This is used when saving the scene (so state is kept when opening it again) and for switching tabs (so state can be restored when the tab returns).</para>
  693. </summary>
  694. </member>
  695. <member name="M:Godot.EditorPlugin.GetWindowLayout(Godot.ConfigFile)">
  696. <summary>
  697. <para>Gets the GUI layout of the plugin. This is used to save the project's editor layout when <see cref="M:Godot.EditorPlugin.QueueSaveLayout"/> is called or the editor layout was changed(For example changing the position of a dock).</para>
  698. </summary>
  699. </member>
  700. <member name="M:Godot.EditorPlugin.Handles(Godot.Object)">
  701. <summary>
  702. <para>Implement this function if your plugin edits a specific type of object (Resource or Node). If you return <c>true</c>, then you will get the functions <see cref="M:Godot.EditorPlugin.Edit(Godot.Object)"/> and <see cref="M:Godot.EditorPlugin.MakeVisible(System.Boolean)"/> called when the editor requests them. If you have declared the methods <see cref="M:Godot.EditorPlugin.ForwardCanvasGuiInput(Godot.InputEvent)"/> and <see cref="M:Godot.EditorPlugin.ForwardSpatialGuiInput(Godot.Camera,Godot.InputEvent)"/> these will be called too.</para>
  703. </summary>
  704. </member>
  705. <member name="M:Godot.EditorPlugin.HasMainScreen">
  706. <summary>
  707. <para>Returns <c>true</c> if this is a main screen editor plugin (it goes in the workspace selector together with 2D, 3D, Script and AssetLib).</para>
  708. </summary>
  709. </member>
  710. <member name="M:Godot.EditorPlugin.MakeVisible(System.Boolean)">
  711. <summary>
  712. <para>This function will be called when the editor is requested to become visible. It is used for plugins that edit a specific object type.</para>
  713. <para>Remember that you have to manage the visibility of all your editor controls manually.</para>
  714. </summary>
  715. </member>
  716. <member name="M:Godot.EditorPlugin.SaveExternalData">
  717. <summary>
  718. <para>This method is called after the editor saves the project or when it's closed. It asks the plugin to save edited external scenes/resources.</para>
  719. </summary>
  720. </member>
  721. <member name="M:Godot.EditorPlugin.SetState(Godot.Collections.Dictionary)">
  722. <summary>
  723. <para>Restore the state saved by <see cref="M:Godot.EditorPlugin.GetState"/>.</para>
  724. </summary>
  725. </member>
  726. <member name="M:Godot.EditorPlugin.SetWindowLayout(Godot.ConfigFile)">
  727. <summary>
  728. <para>Restore the plugin GUI layout saved by <see cref="M:Godot.EditorPlugin.GetWindowLayout(Godot.ConfigFile)"/>.</para>
  729. </summary>
  730. </member>
  731. <member name="M:Godot.EditorPlugin.AddControlToContainer(Godot.EditorPlugin.CustomControlContainer,Godot.Control)">
  732. <summary>
  733. <para>Adds a custom control to a container (see <see cref="T:Godot.EditorPlugin.CustomControlContainer"/>). There are many locations where custom controls can be added in the editor UI.</para>
  734. <para>Please remember that you have to manage the visibility of your custom controls yourself (and likely hide it after adding it).</para>
  735. <para>When your plugin is deactivated, make sure to remove your custom control with <see cref="M:Godot.EditorPlugin.RemoveControlFromContainer(Godot.EditorPlugin.CustomControlContainer,Godot.Control)"/> and free it with <see cref="M:Godot.Node.QueueFree"/>.</para>
  736. </summary>
  737. </member>
  738. <member name="M:Godot.EditorPlugin.AddControlToBottomPanel(Godot.Control,System.String)">
  739. <summary>
  740. <para>Adds a control to the bottom panel (together with Output, Debug, Animation, etc). Returns a reference to the button added. It's up to you to hide/show the button when needed. When your plugin is deactivated, make sure to remove your custom control with <see cref="M:Godot.EditorPlugin.RemoveControlFromBottomPanel(Godot.Control)"/> and free it with <see cref="M:Godot.Node.QueueFree"/>.</para>
  741. </summary>
  742. </member>
  743. <member name="M:Godot.EditorPlugin.AddControlToDock(Godot.EditorPlugin.DockSlot,Godot.Control)">
  744. <summary>
  745. <para>Adds the control to a specific dock slot (see <see cref="T:Godot.EditorPlugin.DockSlot"/> for options).</para>
  746. <para>If the dock is repositioned and as long as the plugin is active, the editor will save the dock position on further sessions.</para>
  747. <para>When your plugin is deactivated, make sure to remove your custom control with <see cref="M:Godot.EditorPlugin.RemoveControlFromDocks(Godot.Control)"/> and free it with <see cref="M:Godot.Node.QueueFree"/>.</para>
  748. </summary>
  749. </member>
  750. <member name="M:Godot.EditorPlugin.RemoveControlFromDocks(Godot.Control)">
  751. <summary>
  752. <para>Removes the control from the dock. You have to manually <see cref="M:Godot.Node.QueueFree"/> the control.</para>
  753. </summary>
  754. </member>
  755. <member name="M:Godot.EditorPlugin.RemoveControlFromBottomPanel(Godot.Control)">
  756. <summary>
  757. <para>Removes the control from the bottom panel. You have to manually <see cref="M:Godot.Node.QueueFree"/> the control.</para>
  758. </summary>
  759. </member>
  760. <member name="M:Godot.EditorPlugin.RemoveControlFromContainer(Godot.EditorPlugin.CustomControlContainer,Godot.Control)">
  761. <summary>
  762. <para>Removes the control from the specified container. You have to manually <see cref="M:Godot.Node.QueueFree"/> the control.</para>
  763. </summary>
  764. </member>
  765. <member name="M:Godot.EditorPlugin.AddToolMenuItem(System.String,Godot.Object,System.String,System.Object)">
  766. <summary>
  767. <para>Adds a custom menu item to Project &gt; Tools as <c>name</c> that calls <c>callback</c> on an instance of <c>handler</c> with a parameter <c>ud</c> when user activates it.</para>
  768. </summary>
  769. </member>
  770. <member name="M:Godot.EditorPlugin.AddToolSubmenuItem(System.String,Godot.Object)">
  771. <summary>
  772. <para>Adds a custom submenu under Project &gt; Tools &gt; <c>name</c>. <c>submenu</c> should be an object of class <see cref="T:Godot.PopupMenu"/>. This submenu should be cleaned up using <c>remove_tool_menu_item(name)</c>.</para>
  773. </summary>
  774. </member>
  775. <member name="M:Godot.EditorPlugin.RemoveToolMenuItem(System.String)">
  776. <summary>
  777. <para>Removes a menu <c>name</c> from Project &gt; Tools.</para>
  778. </summary>
  779. </member>
  780. <member name="M:Godot.EditorPlugin.AddCustomType(System.String,System.String,Godot.Script,Godot.Texture)">
  781. <summary>
  782. <para>Adds a custom type, which will appear in the list of nodes or resources. An icon can be optionally passed.</para>
  783. <para>When given node or resource is selected, the base type will be instanced (ie, "Spatial", "Control", "Resource"), then the script will be loaded and set to this object.</para>
  784. <para>You can use the virtual method <see cref="M:Godot.EditorPlugin.Handles(Godot.Object)"/> to check if your custom object is being edited by checking the script or using the <c>is</c> keyword.</para>
  785. <para>During run-time, this will be a simple object with a script so this function does not need to be called then.</para>
  786. </summary>
  787. </member>
  788. <member name="M:Godot.EditorPlugin.RemoveCustomType(System.String)">
  789. <summary>
  790. <para>Removes a custom type added by <see cref="M:Godot.EditorPlugin.AddCustomType(System.String,System.String,Godot.Script,Godot.Texture)"/>.</para>
  791. </summary>
  792. </member>
  793. <member name="M:Godot.EditorPlugin.AddAutoloadSingleton(System.String,System.String)">
  794. <summary>
  795. <para>Adds a script at <c>path</c> to the Autoload list as <c>name</c>.</para>
  796. </summary>
  797. </member>
  798. <member name="M:Godot.EditorPlugin.RemoveAutoloadSingleton(System.String)">
  799. <summary>
  800. <para>Removes an Autoload <c>name</c> from the list.</para>
  801. </summary>
  802. </member>
  803. <member name="M:Godot.EditorPlugin.UpdateOverlays">
  804. <summary>
  805. <para>Updates the overlays of the editor (2D/3D) viewport.</para>
  806. </summary>
  807. </member>
  808. <member name="M:Godot.EditorPlugin.GetUndoRedo">
  809. <summary>
  810. <para>Gets the undo/redo object. Most actions in the editor can be undoable, so use this object to make sure this happens when it's worth it.</para>
  811. </summary>
  812. </member>
  813. <member name="M:Godot.EditorPlugin.QueueSaveLayout">
  814. <summary>
  815. <para>Queue save the project's editor layout.</para>
  816. </summary>
  817. </member>
  818. <member name="M:Godot.EditorPlugin.SetInputEventForwardingAlwaysEnabled">
  819. <summary>
  820. <para>Use this method if you always want to receive inputs from 3D view screen inside <see cref="M:Godot.EditorPlugin.ForwardSpatialGuiInput(Godot.Camera,Godot.InputEvent)"/>. It might be especially usable if your plugin will want to use raycast in the scene.</para>
  821. </summary>
  822. </member>
  823. <member name="M:Godot.EditorPlugin.GetEditorInterface">
  824. <summary>
  825. <para>Returns the <see cref="T:Godot.EditorInterface"/> object that gives you control over Godot editor's window and its functionalities.</para>
  826. </summary>
  827. </member>
  828. <member name="M:Godot.EditorPlugin.GetScriptCreateDialog">
  829. <summary>
  830. <para>Gets the Editor's dialogue used for making scripts.</para>
  831. <para>Note: Users can configure it before use.</para>
  832. </summary>
  833. </member>
  834. <member name="T:Godot.EditorProperty">
  835. <summary>
  836. <para>This control allows property editing for one or multiple properties into <see cref="T:Godot.EditorInspector"/>. It is added via <see cref="T:Godot.EditorInspectorPlugin"/>.</para>
  837. </summary>
  838. </member>
  839. <member name="P:Godot.EditorProperty.Label">
  840. <summary>
  841. <para>Sets this property to change the label (if you want to show one).</para>
  842. </summary>
  843. </member>
  844. <member name="P:Godot.EditorProperty.ReadOnly">
  845. <summary>
  846. <para>Used by the inspector, when the property is read-only.</para>
  847. </summary>
  848. </member>
  849. <member name="P:Godot.EditorProperty.Checkable">
  850. <summary>
  851. <para>Used by the inspector, set when property is checkable.</para>
  852. </summary>
  853. </member>
  854. <member name="P:Godot.EditorProperty.Checked">
  855. <summary>
  856. <para>Used by the inspector, when the property is checked.</para>
  857. </summary>
  858. </member>
  859. <member name="P:Godot.EditorProperty.DrawRed">
  860. <summary>
  861. <para>Used by the inspector, when the property must draw with error color.</para>
  862. </summary>
  863. </member>
  864. <member name="P:Godot.EditorProperty.Keying">
  865. <summary>
  866. <para>Used by the inspector, when the property can add keys for animation.</para>
  867. </summary>
  868. </member>
  869. <member name="M:Godot.EditorProperty.UpdateProperty">
  870. <summary>
  871. <para>When this virtual function is called, you must update your editor.</para>
  872. </summary>
  873. </member>
  874. <member name="M:Godot.EditorProperty.GetEditedProperty">
  875. <summary>
  876. <para>Gets the edited property. If your editor is for a single property (added via <see cref="M:Godot.EditorInspectorPlugin.ParseProperty(Godot.Object,System.Int32,System.String,System.Int32,System.String,System.Int32)"/>), then this will return the property.</para>
  877. </summary>
  878. </member>
  879. <member name="M:Godot.EditorProperty.GetEditedObject">
  880. <summary>
  881. <para>Gets the edited object.</para>
  882. </summary>
  883. </member>
  884. <member name="M:Godot.EditorProperty.GetTooltipText">
  885. <summary>
  886. <para>Override if you want to allow a custom tooltip over your property.</para>
  887. </summary>
  888. </member>
  889. <member name="M:Godot.EditorProperty.AddFocusable(Godot.Control)">
  890. <summary>
  891. <para>If any of the controls added can gain keyboard focus, add it here. This ensures that focus will be restored if the inspector is refreshed.</para>
  892. </summary>
  893. </member>
  894. <member name="M:Godot.EditorProperty.SetBottomEditor(Godot.Control)">
  895. <summary>
  896. <para>Adds controls with this function if you want them on the bottom (below the label).</para>
  897. </summary>
  898. </member>
  899. <member name="M:Godot.EditorProperty.EmitChanged(System.String,System.Object,System.String,System.Boolean)">
  900. <summary>
  901. <para>If one or several properties have changed, this must be called. <c>field</c> is used in case your editor can modify fields separately (as an example, Vector3.x). The <c>changing</c> argument avoids the editor requesting this property to be refreshed (leave as <c>false</c> if unsure).</para>
  902. </summary>
  903. </member>
  904. <member name="T:Godot.EditorResourcePreview">
  905. <summary>
  906. <para>This object is used to generate previews for resources of files.</para>
  907. <para>Note: This class shouldn't be instantiated directly. Instead, access the singleton using <see cref="M:Godot.EditorInterface.GetResourcePreviewer"/>.</para>
  908. </summary>
  909. </member>
  910. <member name="M:Godot.EditorResourcePreview.QueueResourcePreview(System.String,Godot.Object,System.String,System.Object)">
  911. <summary>
  912. <para>Queue a resource file for preview (using a path). Once the preview is ready, your receiver.receiver_func will be called either containing the preview texture or an empty texture (if no preview was possible). Callback must have the format: (path,texture,userdata). Userdata can be anything.</para>
  913. </summary>
  914. </member>
  915. <member name="M:Godot.EditorResourcePreview.QueueEditedResourcePreview(Godot.Resource,Godot.Object,System.String,System.Object)">
  916. <summary>
  917. <para>Queue a resource being edited for preview (using an instance). Once the preview is ready, your receiver.receiver_func will be called either containing the preview texture or an empty texture (if no preview was possible). Callback must have the format: (path,texture,userdata). Userdata can be anything.</para>
  918. </summary>
  919. </member>
  920. <member name="M:Godot.EditorResourcePreview.AddPreviewGenerator(Godot.EditorResourcePreviewGenerator)">
  921. <summary>
  922. <para>Create an own, custom preview generator.</para>
  923. </summary>
  924. </member>
  925. <member name="M:Godot.EditorResourcePreview.RemovePreviewGenerator(Godot.EditorResourcePreviewGenerator)">
  926. <summary>
  927. <para>Removes a custom preview generator.</para>
  928. </summary>
  929. </member>
  930. <member name="M:Godot.EditorResourcePreview.CheckForInvalidation(System.String)">
  931. <summary>
  932. <para>Check if the resource changed, if so, it will be invalidated and the corresponding signal emitted.</para>
  933. </summary>
  934. </member>
  935. <member name="T:Godot.EditorResourcePreviewGenerator">
  936. <summary>
  937. <para>Custom code to generate previews. Please check <c>file_dialog/thumbnail_size</c> in <see cref="T:Godot.EditorSettings"/> to find out the right size to do previews at.</para>
  938. </summary>
  939. </member>
  940. <member name="M:Godot.EditorResourcePreviewGenerator.CanGenerateSmallPreview">
  941. <summary>
  942. <para>If this function returns <c>true</c>, the generator will call <see cref="M:Godot.EditorResourcePreviewGenerator.Generate(Godot.Resource,Godot.Vector2)"/> or <see cref="M:Godot.EditorResourcePreviewGenerator.GenerateFromPath(System.String,Godot.Vector2)"/> for small previews as well.</para>
  943. <para>By default, it returns <c>false</c>.</para>
  944. </summary>
  945. </member>
  946. <member name="M:Godot.EditorResourcePreviewGenerator.Generate(Godot.Resource,Godot.Vector2)">
  947. <summary>
  948. <para>Generate a preview from a given resource with the specified size. This must always be implemented.</para>
  949. <para>Returning an empty texture is an OK way to fail and let another generator take care.</para>
  950. <para>Care must be taken because this function is always called from a thread (not the main thread).</para>
  951. </summary>
  952. </member>
  953. <member name="M:Godot.EditorResourcePreviewGenerator.GenerateFromPath(System.String,Godot.Vector2)">
  954. <summary>
  955. <para>Generate a preview directly from a path with the specified size. Implementing this is optional, as default code will load and call <see cref="M:Godot.EditorResourcePreviewGenerator.Generate(Godot.Resource,Godot.Vector2)"/>.</para>
  956. <para>Returning an empty texture is an OK way to fail and let another generator take care.</para>
  957. <para>Care must be taken because this function is always called from a thread (not the main thread).</para>
  958. </summary>
  959. </member>
  960. <member name="M:Godot.EditorResourcePreviewGenerator.GenerateSmallPreviewAutomatically">
  961. <summary>
  962. <para>If this function returns <c>true</c>, the generator will automatically generate the small previews from the normal preview texture generated by the methods <see cref="M:Godot.EditorResourcePreviewGenerator.Generate(Godot.Resource,Godot.Vector2)"/> or <see cref="M:Godot.EditorResourcePreviewGenerator.GenerateFromPath(System.String,Godot.Vector2)"/>.</para>
  963. <para>By default, it returns <c>false</c>.</para>
  964. </summary>
  965. </member>
  966. <member name="M:Godot.EditorResourcePreviewGenerator.Handles(System.String)">
  967. <summary>
  968. <para>Returns <c>true</c> if your generator supports the resource of type <c>type</c>.</para>
  969. </summary>
  970. </member>
  971. <member name="T:Godot.EditorSceneImporterAssimp">
  972. <summary>
  973. <para>This is an FBX 3D asset importer based on <a href="http://assimp.org/">Assimp</a>. It currently has many known limitations and works best with static meshes. Most animated meshes won't import correctly.</para>
  974. <para>If exporting a FBX scene from Autodesk Maya, use these FBX export settings:</para>
  975. <para><code>
  976. - Smoothing Groups
  977. - Smooth Mesh
  978. - Triangluate (for meshes with blend shapes)
  979. - Bake Animation
  980. - Resample All
  981. - Deformed Models
  982. - Skins
  983. - Blend Shapes
  984. - Curve Filters
  985. - Constant Key Reducer
  986. - Auto Tangents Only
  987. - *Do not check* Constraints (as it will break the file)
  988. - Can check Embed Media (embeds textures into the exported FBX file)
  989. - Note that when importing embedded media, the texture and mesh will be a single immutable file.
  990. - You will have to re-export then re-import the FBX if the texture has changed.
  991. - Units: Centimeters
  992. - Up Axis: Y
  993. - Binary format in FBX 2017
  994. </code></para>
  995. </summary>
  996. </member>
  997. <member name="T:Godot.EditorScenePostImport">
  998. <summary>
  999. <para>Imported scenes can be automatically modified right after import by setting their Custom Script Import property to a <c>tool</c> script that inherits from this class.</para>
  1000. <para>The <see cref="M:Godot.EditorScenePostImport.PostImport(Godot.Object)"/> callback receives the imported scene's root node and returns the modified version of the scene. Usage example:</para>
  1001. <para><code>
  1002. tool # Needed so it runs in editor
  1003. extends EditorScenePostImport
  1004. # This sample changes all node names
  1005. # Called right after the scene is imported and gets the root node
  1006. func post_import(scene):
  1007. # Change all node names to "modified_[oldnodename]"
  1008. iterate(scene)
  1009. return scene # Remember to return the imported scene
  1010. func iterate(node):
  1011. if node != null:
  1012. node.name = "modified_" + node.name
  1013. for child in node.get_children():
  1014. iterate(child)
  1015. </code></para>
  1016. </summary>
  1017. </member>
  1018. <member name="M:Godot.EditorScenePostImport.PostImport(Godot.Object)">
  1019. <summary>
  1020. <para>Called after the scene was imported. This method must return the modified version of the scene.</para>
  1021. </summary>
  1022. </member>
  1023. <member name="M:Godot.EditorScenePostImport.GetSourceFolder">
  1024. <summary>
  1025. <para>Returns the resource folder the imported scene file is located in.</para>
  1026. </summary>
  1027. </member>
  1028. <member name="M:Godot.EditorScenePostImport.GetSourceFile">
  1029. <summary>
  1030. <para>Returns the source file path which got imported (e.g. <c>res://scene.dae</c>).</para>
  1031. </summary>
  1032. </member>
  1033. <member name="T:Godot.EditorScript">
  1034. <summary>
  1035. <para>Scripts extending this class and implementing its <see cref="M:Godot.EditorScript._Run"/> method can be executed from the Script Editor's File &gt; Run menu option (or by pressing <c>Ctrl+Shift+X</c>) while the editor is running. This is useful for adding custom in-editor functionality to Godot. For more complex additions, consider using <see cref="T:Godot.EditorPlugin"/>s instead.</para>
  1036. <para>Note: Extending scripts need to have <c>tool</c> mode enabled.</para>
  1037. <para>Example script:</para>
  1038. <para><code>
  1039. tool
  1040. extends EditorScript
  1041. func _run():
  1042. print("Hello from the Godot Editor!")
  1043. </code></para>
  1044. <para>Note: The script is run in the Editor context, which means the output is visible in the console window started with the Editor (stdout) instead of the usual Godot Output dock.</para>
  1045. </summary>
  1046. </member>
  1047. <member name="M:Godot.EditorScript._Run">
  1048. <summary>
  1049. <para>This method is executed by the Editor when File &gt; Run is used.</para>
  1050. </summary>
  1051. </member>
  1052. <member name="M:Godot.EditorScript.AddRootNode(Godot.Node)">
  1053. <summary>
  1054. <para>Adds <c>node</c> as a child of the root node in the editor context.</para>
  1055. <para>Warning: The implementation of this method is currently disabled.</para>
  1056. </summary>
  1057. </member>
  1058. <member name="M:Godot.EditorScript.GetScene">
  1059. <summary>
  1060. <para>Returns the Editor's currently active scene.</para>
  1061. </summary>
  1062. </member>
  1063. <member name="M:Godot.EditorScript.GetEditorInterface">
  1064. <summary>
  1065. <para>Returns the <see cref="T:Godot.EditorInterface"/> singleton instance.</para>
  1066. </summary>
  1067. </member>
  1068. <member name="T:Godot.EditorSelection">
  1069. <summary>
  1070. <para>This object manages the SceneTree selection in the editor.</para>
  1071. <para>Note: This class shouldn't be instantiated directly. Instead, access the singleton using <see cref="M:Godot.EditorInterface.GetSelection"/>.</para>
  1072. </summary>
  1073. </member>
  1074. <member name="M:Godot.EditorSelection.Clear">
  1075. <summary>
  1076. <para>Clear the selection.</para>
  1077. </summary>
  1078. </member>
  1079. <member name="M:Godot.EditorSelection.AddNode(Godot.Node)">
  1080. <summary>
  1081. <para>Adds a node to the selection.</para>
  1082. </summary>
  1083. </member>
  1084. <member name="M:Godot.EditorSelection.RemoveNode(Godot.Node)">
  1085. <summary>
  1086. <para>Removes a node from the selection.</para>
  1087. </summary>
  1088. </member>
  1089. <member name="M:Godot.EditorSelection.GetSelectedNodes">
  1090. <summary>
  1091. <para>Gets the list of selected nodes.</para>
  1092. </summary>
  1093. </member>
  1094. <member name="M:Godot.EditorSelection.GetTransformableSelectedNodes">
  1095. <summary>
  1096. <para>Gets the list of selected nodes, optimized for transform operations (i.e. moving them, rotating, etc). This list avoids situations where a node is selected and also child/grandchild.</para>
  1097. </summary>
  1098. </member>
  1099. <member name="T:Godot.EditorSettings">
  1100. <summary>
  1101. <para>Object that holds the project-independent editor settings. These settings are generally visible in the Editor &gt; Editor Settings menu.</para>
  1102. <para>Accessing the settings is done by using the regular <see cref="T:Godot.Object"/> API, such as:</para>
  1103. <para><code>
  1104. settings.set(prop,value)
  1105. settings.get(prop)
  1106. list_of_settings = settings.get_property_list()
  1107. </code></para>
  1108. <para>Note: This class shouldn't be instantiated directly. Instead, access the singleton using <see cref="M:Godot.EditorInterface.GetEditorSettings"/>.</para>
  1109. </summary>
  1110. </member>
  1111. <member name="F:Godot.EditorSettings.NotificationEditorSettingsChanged">
  1112. <summary>
  1113. <para>Emitted when editor settings change. It used by various editor plugins to update their visuals on theme changes or logic on configuration changes.</para>
  1114. </summary>
  1115. </member>
  1116. <member name="M:Godot.EditorSettings.Erase(System.String)">
  1117. <summary>
  1118. <para>Erase a given setting (pass full property path).</para>
  1119. </summary>
  1120. </member>
  1121. <member name="M:Godot.EditorSettings.AddPropertyInfo(Godot.Collections.Dictionary)">
  1122. <summary>
  1123. <para>Adds a custom property info to a property. The dictionary must contain:</para>
  1124. <para>- <c>name</c>: <see cref="T:System.String"/> (the name of the property)</para>
  1125. <para>- <c>type</c>: <see cref="T:System.Int32"/> (see <see cref="T:Godot.Variant.Type"/>)</para>
  1126. <para>- optionally <c>hint</c>: <see cref="T:System.Int32"/> (see <see cref="T:Godot.PropertyHint"/>) and <c>hint_string</c>: <see cref="T:System.String"/></para>
  1127. <para>Example:</para>
  1128. <para><code>
  1129. editor_settings.set("category/property_name", 0)
  1130. var property_info = {
  1131. "name": "category/property_name",
  1132. "type": TYPE_INT,
  1133. "hint": PROPERTY_HINT_ENUM,
  1134. "hint_string": "one,two,three"
  1135. }
  1136. editor_settings.add_property_info(property_info)
  1137. </code></para>
  1138. </summary>
  1139. </member>
  1140. <member name="M:Godot.EditorSettings.GetSettingsDir">
  1141. <summary>
  1142. <para>Gets the global settings path for the engine. Inside this path, you can find some standard paths such as:</para>
  1143. <para><c>settings/tmp</c> - Used for temporary storage of files</para>
  1144. <para><c>settings/templates</c> - Where export templates are located</para>
  1145. </summary>
  1146. </member>
  1147. <member name="M:Godot.EditorSettings.GetProjectSettingsDir">
  1148. <summary>
  1149. <para>Gets the specific project settings path. Projects all have a unique sub-directory inside the settings path where project specific settings are saved.</para>
  1150. </summary>
  1151. </member>
  1152. <member name="M:Godot.EditorSettings.SetFavorites(System.String[])">
  1153. <summary>
  1154. <para>Sets the list of favorite files and directories for this project.</para>
  1155. </summary>
  1156. </member>
  1157. <member name="M:Godot.EditorSettings.GetFavorites">
  1158. <summary>
  1159. <para>Gets the list of favorite files and directories for this project.</para>
  1160. </summary>
  1161. </member>
  1162. <member name="M:Godot.EditorSettings.SetRecentDirs(System.String[])">
  1163. <summary>
  1164. <para>Sets the list of recently visited folders in the file dialog for this project.</para>
  1165. </summary>
  1166. </member>
  1167. <member name="M:Godot.EditorSettings.GetRecentDirs">
  1168. <summary>
  1169. <para>Gets the list of recently visited folders in the file dialog for this project.</para>
  1170. </summary>
  1171. </member>
  1172. <member name="T:Godot.EditorSpatialGizmo">
  1173. <summary>
  1174. <para>Custom gizmo that is used for providing custom visualization and editing (handles) for 3D Spatial objects. See <see cref="T:Godot.EditorSpatialGizmoPlugin"/> for more information.</para>
  1175. </summary>
  1176. </member>
  1177. <member name="M:Godot.EditorSpatialGizmo.CommitHandle(System.Int32,System.Object,System.Boolean)">
  1178. <summary>
  1179. <para>Commit a handle being edited (handles must have been previously added by <see cref="M:Godot.EditorSpatialGizmo.AddHandles(Godot.Vector3[],Godot.Material,System.Boolean,System.Boolean)"/>).</para>
  1180. <para>If the <c>cancel</c> parameter is <c>true</c>, an option to restore the edited value to the original is provided.</para>
  1181. </summary>
  1182. </member>
  1183. <member name="M:Godot.EditorSpatialGizmo.GetHandleName(System.Int32)">
  1184. <summary>
  1185. <para>Gets the name of an edited handle (handles must have been previously added by <see cref="M:Godot.EditorSpatialGizmo.AddHandles(Godot.Vector3[],Godot.Material,System.Boolean,System.Boolean)"/>).</para>
  1186. <para>Handles can be named for reference to the user when editing.</para>
  1187. </summary>
  1188. </member>
  1189. <member name="M:Godot.EditorSpatialGizmo.GetHandleValue(System.Int32)">
  1190. <summary>
  1191. <para>Gets actual value of a handle. This value can be anything and used for eventually undoing the motion when calling <see cref="M:Godot.EditorSpatialGizmo.CommitHandle(System.Int32,System.Object,System.Boolean)"/>.</para>
  1192. </summary>
  1193. </member>
  1194. <member name="M:Godot.EditorSpatialGizmo.IsHandleHighlighted(System.Int32)">
  1195. <summary>
  1196. <para>Gets whether a handle is highlighted or not.</para>
  1197. </summary>
  1198. </member>
  1199. <member name="M:Godot.EditorSpatialGizmo.Redraw">
  1200. <summary>
  1201. <para>This function is called when the Spatial this gizmo refers to changes (the <see cref="M:Godot.Spatial.UpdateGizmo"/> is called).</para>
  1202. </summary>
  1203. </member>
  1204. <member name="M:Godot.EditorSpatialGizmo.SetHandle(System.Int32,Godot.Camera,Godot.Vector2)">
  1205. <summary>
  1206. <para>This function is used when the user drags a gizmo handle (previously added with <see cref="M:Godot.EditorSpatialGizmo.AddHandles(Godot.Vector3[],Godot.Material,System.Boolean,System.Boolean)"/>) in screen coordinates.</para>
  1207. <para>The <see cref="T:Godot.Camera"/> is also provided so screen coordinates can be converted to raycasts.</para>
  1208. </summary>
  1209. </member>
  1210. <member name="M:Godot.EditorSpatialGizmo.AddLines(Godot.Vector3[],Godot.Material,System.Boolean,System.Nullable{Godot.Color})">
  1211. <summary>
  1212. <para>Adds lines to the gizmo (as sets of 2 points), with a given material. The lines are used for visualizing the gizmo. Call this function during <see cref="M:Godot.EditorSpatialGizmo.Redraw"/>.</para>
  1213. </summary>
  1214. <param name="modulate">If the parameter is null, then the default value is new Color(1, 1, 1, 1)</param>
  1215. </member>
  1216. <member name="M:Godot.EditorSpatialGizmo.AddCollisionTriangles(Godot.TriangleMesh)">
  1217. <summary>
  1218. <para>Adds collision triangles to the gizmo for picking. A <see cref="T:Godot.TriangleMesh"/> can be generated from a regular <see cref="T:Godot.Mesh"/> too. Call this function during <see cref="M:Godot.EditorSpatialGizmo.Redraw"/>.</para>
  1219. </summary>
  1220. </member>
  1221. <member name="M:Godot.EditorSpatialGizmo.AddUnscaledBillboard(Godot.Material,System.Single,System.Nullable{Godot.Color})">
  1222. <summary>
  1223. <para>Adds an unscaled billboard for visualization. Call this function during <see cref="M:Godot.EditorSpatialGizmo.Redraw"/>.</para>
  1224. </summary>
  1225. <param name="modulate">If the parameter is null, then the default value is new Color(1, 1, 1, 1)</param>
  1226. </member>
  1227. <member name="M:Godot.EditorSpatialGizmo.AddHandles(Godot.Vector3[],Godot.Material,System.Boolean,System.Boolean)">
  1228. <summary>
  1229. <para>Adds a list of handles (points) which can be used to deform the object being edited.</para>
  1230. <para>There are virtual functions which will be called upon editing of these handles. Call this function during <see cref="M:Godot.EditorSpatialGizmo.Redraw"/>.</para>
  1231. </summary>
  1232. </member>
  1233. <member name="M:Godot.EditorSpatialGizmo.GetSpatialNode">
  1234. <summary>
  1235. <para>Returns the Spatial node associated with this gizmo.</para>
  1236. </summary>
  1237. </member>
  1238. <member name="M:Godot.EditorSpatialGizmo.GetPlugin">
  1239. <summary>
  1240. <para>Returns the <see cref="T:Godot.EditorSpatialGizmoPlugin"/> that owns this gizmo. It's useful to retrieve materials using <see cref="M:Godot.EditorSpatialGizmoPlugin.GetMaterial(System.String,Godot.EditorSpatialGizmo)"/>.</para>
  1241. </summary>
  1242. </member>
  1243. <member name="T:Godot.EditorSpatialGizmoPlugin">
  1244. <summary>
  1245. <para>EditorSpatialGizmoPlugin allows you to define a new type of Gizmo. There are two main ways to do so: extending <see cref="T:Godot.EditorSpatialGizmoPlugin"/> for the simpler gizmos, or creating a new <see cref="T:Godot.EditorSpatialGizmo"/> type. See the tutorial in the documentation for more info.</para>
  1246. </summary>
  1247. </member>
  1248. <member name="M:Godot.EditorSpatialGizmoPlugin.CanBeHidden">
  1249. <summary>
  1250. <para>Override this method to define whether the gizmo can be hidden or not. Returns <c>true</c> if not overridden.</para>
  1251. </summary>
  1252. </member>
  1253. <member name="M:Godot.EditorSpatialGizmoPlugin.CommitHandle(Godot.EditorSpatialGizmo,System.Int32,System.Object,System.Boolean)">
  1254. <summary>
  1255. <para>Override this method to commit gizmo handles. Called for this plugin's active gizmos.</para>
  1256. </summary>
  1257. </member>
  1258. <member name="M:Godot.EditorSpatialGizmoPlugin.CreateGizmo(Godot.Spatial)">
  1259. <summary>
  1260. <para>Override this method to return a custom <see cref="T:Godot.EditorSpatialGizmo"/> for the spatial nodes of your choice, return <c>null</c> for the rest of nodes. See also <see cref="M:Godot.EditorSpatialGizmoPlugin.HasGizmo(Godot.Spatial)"/>.</para>
  1261. </summary>
  1262. </member>
  1263. <member name="M:Godot.EditorSpatialGizmoPlugin.GetHandleName(Godot.EditorSpatialGizmo,System.Int32)">
  1264. <summary>
  1265. <para>Override this method to provide gizmo's handle names. Called for this plugin's active gizmos.</para>
  1266. </summary>
  1267. </member>
  1268. <member name="M:Godot.EditorSpatialGizmoPlugin.GetHandleValue(Godot.EditorSpatialGizmo,System.Int32)">
  1269. <summary>
  1270. <para>Gets actual value of a handle from gizmo. Called for this plugin's active gizmos.</para>
  1271. </summary>
  1272. </member>
  1273. <member name="M:Godot.EditorSpatialGizmoPlugin.GetName">
  1274. <summary>
  1275. <para>Override this method to provide the name that will appear in the gizmo visibility menu.</para>
  1276. </summary>
  1277. </member>
  1278. <member name="M:Godot.EditorSpatialGizmoPlugin.HasGizmo(Godot.Spatial)">
  1279. <summary>
  1280. <para>Override this method to define which Spatial nodes have a gizmo from this plugin. Whenever a <see cref="T:Godot.Spatial"/> node is added to a scene this method is called, if it returns <c>true</c> the node gets a generic <see cref="T:Godot.EditorSpatialGizmo"/> assigned and is added to this plugin's list of active gizmos.</para>
  1281. </summary>
  1282. </member>
  1283. <member name="M:Godot.EditorSpatialGizmoPlugin.IsHandleHighlighted(Godot.EditorSpatialGizmo,System.Int32)">
  1284. <summary>
  1285. <para>Gets whether a handle is highlighted or not. Called for this plugin's active gizmos.</para>
  1286. </summary>
  1287. </member>
  1288. <member name="M:Godot.EditorSpatialGizmoPlugin.IsSelectableWhenHidden">
  1289. <summary>
  1290. <para>Override this method to define whether Spatial with this gizmo should be selecteble even when the gizmo is hidden.</para>
  1291. </summary>
  1292. </member>
  1293. <member name="M:Godot.EditorSpatialGizmoPlugin.Redraw(Godot.EditorSpatialGizmo)">
  1294. <summary>
  1295. <para>Callback to redraw the provided gizmo. Called for this plugin's active gizmos.</para>
  1296. </summary>
  1297. </member>
  1298. <member name="M:Godot.EditorSpatialGizmoPlugin.SetHandle(Godot.EditorSpatialGizmo,System.Int32,Godot.Camera,Godot.Vector2)">
  1299. <summary>
  1300. <para>Update the value of a handle after it has been updated. Called for this plugin's active gizmos.</para>
  1301. </summary>
  1302. </member>
  1303. <member name="M:Godot.EditorSpatialGizmoPlugin.CreateMaterial(System.String,Godot.Color,System.Boolean,System.Boolean,System.Boolean)">
  1304. <summary>
  1305. <para>Creates an unshaded material with its variants (selected and/or editable) and adds them to the internal material list. They can then be accessed with <see cref="M:Godot.EditorSpatialGizmoPlugin.GetMaterial(System.String,Godot.EditorSpatialGizmo)"/> and used in <see cref="M:Godot.EditorSpatialGizmo.AddMesh(Godot.ArrayMesh,System.Boolean,Godot.SkinReference,Godot.Material)"/> and <see cref="M:Godot.EditorSpatialGizmo.AddLines(Godot.Vector3[],Godot.Material,System.Boolean,System.Nullable{Godot.Color})"/>. Should not be overridden.</para>
  1306. </summary>
  1307. </member>
  1308. <member name="M:Godot.EditorSpatialGizmoPlugin.CreateIconMaterial(System.String,Godot.Texture,System.Boolean,System.Nullable{Godot.Color})">
  1309. <summary>
  1310. <para>Creates an icon material with its variants (selected and/or editable) and adds them to the internal material list. They can then be accessed with <see cref="M:Godot.EditorSpatialGizmoPlugin.GetMaterial(System.String,Godot.EditorSpatialGizmo)"/> and used in <see cref="M:Godot.EditorSpatialGizmo.AddUnscaledBillboard(Godot.Material,System.Single,System.Nullable{Godot.Color})"/>. Should not be overridden.</para>
  1311. </summary>
  1312. <param name="color">If the parameter is null, then the default value is new Color(1, 1, 1, 1)</param>
  1313. </member>
  1314. <member name="M:Godot.EditorSpatialGizmoPlugin.CreateHandleMaterial(System.String,System.Boolean)">
  1315. <summary>
  1316. <para>Creates a handle material with its variants (selected and/or editable) and adds them to the internal material list. They can then be accessed with <see cref="M:Godot.EditorSpatialGizmoPlugin.GetMaterial(System.String,Godot.EditorSpatialGizmo)"/> and used in <see cref="M:Godot.EditorSpatialGizmo.AddHandles(Godot.Vector3[],Godot.Material,System.Boolean,System.Boolean)"/>. Should not be overridden.</para>
  1317. </summary>
  1318. </member>
  1319. <member name="M:Godot.EditorSpatialGizmoPlugin.AddMaterial(System.String,Godot.SpatialMaterial)">
  1320. <summary>
  1321. <para>Adds a new material to the internal material list for the plugin. It can then be accessed with <see cref="M:Godot.EditorSpatialGizmoPlugin.GetMaterial(System.String,Godot.EditorSpatialGizmo)"/>. Should not be overridden.</para>
  1322. </summary>
  1323. </member>
  1324. <member name="M:Godot.EditorSpatialGizmoPlugin.GetMaterial(System.String,Godot.EditorSpatialGizmo)">
  1325. <summary>
  1326. <para>Gets material from the internal list of materials. If an <see cref="T:Godot.EditorSpatialGizmo"/> is provided, it will try to get the corresponding variant (selected and/or editable).</para>
  1327. </summary>
  1328. </member>
  1329. <member name="T:Godot.EditorVCSInterface">
  1330. <summary>
  1331. <para>Used by the editor to display VCS extracted information in the editor. The implementation of this API is included in VCS addons, which are essentially GDNative plugins that need to be put into the project folder. These VCS addons are scripts which are attached (on demand) to the object instance of <c>EditorVCSInterface</c>. All the functions listed below, instead of performing the task themselves, they call the internally defined functions in the VCS addons to provide a plug-n-play experience.</para>
  1332. </summary>
  1333. </member>
  1334. <member name="M:Godot.EditorVCSInterface.IsAddonReady">
  1335. <summary>
  1336. <para>Returns <c>true</c> if the addon is ready to respond to function calls, else returns <c>false</c>.</para>
  1337. </summary>
  1338. </member>
  1339. <member name="M:Godot.EditorVCSInterface.Initialize(System.String)">
  1340. <summary>
  1341. <para>Initializes the VCS addon if not already. Uses the argument value as the path to the working directory of the project. Creates the initial commit if required. Returns <c>true</c> if no failure occurs, else returns <c>false</c>.</para>
  1342. </summary>
  1343. </member>
  1344. <member name="M:Godot.EditorVCSInterface.IsVcsInitialized">
  1345. <summary>
  1346. <para>Returns <c>true</c> if the VCS addon has been initialized, else returns <c>false</c>.</para>
  1347. </summary>
  1348. </member>
  1349. <member name="M:Godot.EditorVCSInterface.GetModifiedFilesData">
  1350. <summary>
  1351. <para>Returns a <see cref="T:Godot.Collections.Dictionary"/> containing the path of the detected file change mapped to an integer signifying what kind of a change the corresponding file has experienced.</para>
  1352. <para>The following integer values are being used to signify that the detected file is:</para>
  1353. <para>- <c>0</c>: New to the VCS working directory</para>
  1354. <para>- <c>1</c>: Modified</para>
  1355. <para>- <c>2</c>: Renamed</para>
  1356. <para>- <c>3</c>: Deleted</para>
  1357. <para>- <c>4</c>: Typechanged</para>
  1358. </summary>
  1359. </member>
  1360. <member name="M:Godot.EditorVCSInterface.StageFile(System.String)">
  1361. <summary>
  1362. <para>Stages the file which should be committed when <see cref="M:Godot.EditorVCSInterface.Commit(System.String)"/> is called. Argument should contain the absolute path.</para>
  1363. </summary>
  1364. </member>
  1365. <member name="M:Godot.EditorVCSInterface.UnstageFile(System.String)">
  1366. <summary>
  1367. <para>Unstages the file which was staged previously to be committed, so that it is no longer committed when <see cref="M:Godot.EditorVCSInterface.Commit(System.String)"/> is called. Argument should contain the absolute path.</para>
  1368. </summary>
  1369. </member>
  1370. <member name="M:Godot.EditorVCSInterface.Commit(System.String)">
  1371. <summary>
  1372. <para>Creates a version commit if the addon is initialized, else returns without doing anything. Uses the files which have been staged previously, with the commit message set to a value as provided as in the argument.</para>
  1373. </summary>
  1374. </member>
  1375. <member name="M:Godot.EditorVCSInterface.GetFileDiff(System.String)">
  1376. <summary>
  1377. <para>Returns an <see cref="T:Godot.Collections.Array"/> of <see cref="T:Godot.Collections.Dictionary"/> objects containing the diff output from the VCS in use, if a VCS addon is initialized, else returns an empty <see cref="T:Godot.Collections.Array"/> object. The diff contents also consist of some contextual lines which provide context to the observed line change in the file.</para>
  1378. <para>Each <see cref="T:Godot.Collections.Dictionary"/> object has the line diff contents under the keys:</para>
  1379. <para>- <c>"content"</c> to store a <see cref="T:System.String"/> containing the line contents</para>
  1380. <para>- <c>"status"</c> to store a <see cref="T:System.String"/> which contains <c>"+"</c> in case the content is a line addition but it stores a <c>"-"</c> in case of deletion and an empty string in the case the line content is neither an addition nor a deletion.</para>
  1381. <para>- <c>"new_line_number"</c> to store an integer containing the new line number of the line content.</para>
  1382. <para>- <c>"line_count"</c> to store an integer containing the number of lines in the line content.</para>
  1383. <para>- <c>"old_line_number"</c> to store an integer containing the old line number of the line content.</para>
  1384. <para>- <c>"offset"</c> to store the offset of the line change since the first contextual line content.</para>
  1385. </summary>
  1386. </member>
  1387. <member name="M:Godot.EditorVCSInterface.ShutDown">
  1388. <summary>
  1389. <para>Shuts down the VCS addon to allow cleanup code to run on call. Returns <c>true</c> is no failure occurs, else returns <c>false</c>.</para>
  1390. </summary>
  1391. </member>
  1392. <member name="M:Godot.EditorVCSInterface.GetProjectName">
  1393. <summary>
  1394. <para>Returns the project name of the VCS working directory.</para>
  1395. </summary>
  1396. </member>
  1397. <member name="M:Godot.EditorVCSInterface.GetVcsName">
  1398. <summary>
  1399. <para>Returns the name of the VCS if the VCS has been initialized, else return an empty string.</para>
  1400. </summary>
  1401. </member>
  1402. <member name="T:Godot.ScriptCreateDialog">
  1403. <summary>
  1404. <para>The <see cref="T:Godot.ScriptCreateDialog"/> creates script files according to a given template for a given scripting language. The standard use is to configure its fields prior to calling one of the <see cref="M:Godot.Popup.Popup_(System.Nullable{Godot.Rect2})"/> methods.</para>
  1405. <para><code>
  1406. func _ready():
  1407. dialog.config("Node", "res://new_node.gd") # For in-engine types
  1408. dialog.config("\"res://base_node.gd\"", "res://derived_node.gd") # For script types
  1409. dialog.popup_centered()
  1410. </code></para>
  1411. </summary>
  1412. </member>
  1413. <member name="M:Godot.ScriptCreateDialog.Config(System.String,System.String,System.Boolean,System.Boolean)">
  1414. <summary>
  1415. <para>Prefills required fields to configure the ScriptCreateDialog for use.</para>
  1416. </summary>
  1417. </member>
  1418. <member name="T:Godot.ScriptEditor">
  1419. <summary>
  1420. <para>Note: This class shouldn't be instantiated directly. Instead, access the singleton using <see cref="M:Godot.EditorInterface.GetScriptEditor"/>.</para>
  1421. </summary>
  1422. </member>
  1423. <member name="M:Godot.ScriptEditor.GotoLine(System.Int32)">
  1424. <summary>
  1425. <para>Goes to the specified line in the current script.</para>
  1426. </summary>
  1427. </member>
  1428. <member name="M:Godot.ScriptEditor.GetCurrentScript">
  1429. <summary>
  1430. <para>Returns a <see cref="T:Godot.Script"/> that is currently active in editor.</para>
  1431. </summary>
  1432. </member>
  1433. <member name="M:Godot.ScriptEditor.GetOpenScripts">
  1434. <summary>
  1435. <para>Returns an array with all <see cref="T:Godot.Script"/> objects which are currently open in editor.</para>
  1436. </summary>
  1437. </member>
  1438. <member name="M:Godot.VisualScriptEditor.AddCustomNode(System.String,System.String,Godot.Script)">
  1439. <summary>
  1440. <para>Add a custom Visual Script node to the editor. It'll be placed under "Custom Nodes" with the <c>category</c> as the parameter.</para>
  1441. </summary>
  1442. </member>
  1443. <member name="M:Godot.VisualScriptEditor.RemoveCustomNode(System.String,System.String)">
  1444. <summary>
  1445. <para>Remove a custom Visual Script node from the editor. Custom nodes already placed on scripts won't be removed.</para>
  1446. </summary>
  1447. </member>
  1448. </members>
  1449. </doc>