You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creates a new **AudioStreamWAV** instance from the given buffer. The keys and values of ``options`` match the properties of :ref:`ResourceImporterWAV<class_ResourceImporterWAV>`.
312
+
313
+
The usage of ``options`` is identical to :ref:`load_from_file<class_AudioStreamWAV_method_load_from_file>`.
Creates a new **AudioStreamWAV** instance from the given file path. The keys and values of ``options`` match the properties of :ref:`ResourceImporterWAV<class_ResourceImporterWAV>`.
326
+
327
+
\ **Example:** Load the first file dropped as a WAV and play it:
Snap makes the mesh vertices snap to a given distance so that the faces of two meshes can be perfectly aligned. A lower value results in greater precision but may be harder to adjust. The top-level CSG shape's snap value is used for the entire CSG tree.
241
+
**Deprecated:** The CSG library no longer uses snapping.
Copy file name to clipboardExpand all lines: classes/class_cubemaparray.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ The primary benefit of **CubemapArray**\ s is that they can be accessed in shade
25
25
26
26
\ **Note:** Godot uses **CubemapArray**\ s internally for many effects, including the :ref:`Sky<class_Sky>` if you set :ref:`ProjectSettings.rendering/reflections/sky_reflections/texture_array_reflections<class_ProjectSettings_property_rendering/reflections/sky_reflections/texture_array_reflections>` to ``true``. To create such a texture file yourself, reimport your image files using the import presets of the File System dock.
27
27
28
-
\ **Note:** **CubemapArray** is not supported in the OpenGL 3 rendering backend.
28
+
\ **Note:** **CubemapArray** is not supported in the Compatibility renderer.
Creates a temporary directory. This directory will be freed when the returned **DirAccess** is freed.
314
+
315
+
If ``prefix`` is not empty, it will be prefixed to the directory name, separated by a ``-``.
316
+
317
+
If ``keep`` is ``true``, the directory is not deleted when the returned **DirAccess** is freed.
318
+
319
+
Returns ``null`` if opening the directory failed. You can use :ref:`get_open_error<class_DirAccess_method_get_open_error>` to check the error that occurred.
320
+
321
+
.. rst-class:: classref-item-separator
322
+
323
+
----
324
+
303
325
.. _class_DirAccess_method_current_is_dir:
304
326
305
327
.. rst-class:: classref-method
@@ -518,6 +540,20 @@ Returns the available space on the current directory's disk, in bytes. Returns `
0 commit comments