From 097c849395b05e017f5e5c4654a29ddde71fb10f Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Fri, 4 Aug 2023 16:17:28 +0800 Subject: [PATCH] Fix various typos in classref --- doc/classes/Bone2D.xml | 2 +- doc/classes/RDPipelineMultisampleState.xml | 2 +- doc/classes/RDPipelineRasterizationState.xml | 2 +- doc/classes/RenderingDevice.xml | 10 +++++----- doc/classes/RenderingServer.xml | 2 +- doc/classes/XRInterfaceExtension.xml | 2 +- .../doc_classes/EditorExportPlatformAndroid.xml | 2 +- .../macos/doc_classes/EditorExportPlatformMacOS.xml | 2 +- .../doc_classes/EditorExportPlatformWindows.xml | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/doc/classes/Bone2D.xml b/doc/classes/Bone2D.xml index 605f217eff8..fa8112de29e 100644 --- a/doc/classes/Bone2D.xml +++ b/doc/classes/Bone2D.xml @@ -61,7 +61,7 @@ Sets the bone angle for the [Bone2D]. This is typically set to the rotation from the [Bone2D] to a child [Bone2D] node. - [b]Note:[/b] [b]Note:[/b] This is different from the [Bone2D]'s rotation. The bone's angle is the rotation of the bone shown by the gizmo, which is unaffected by the [Bone2D]'s [member Node2D.transform]. + [b]Note:[/b] This is different from the [Bone2D]'s rotation. The bone's angle is the rotation of the bone shown by the gizmo, which is unaffected by the [Bone2D]'s [member Node2D.transform]. diff --git a/doc/classes/RDPipelineMultisampleState.xml b/doc/classes/RDPipelineMultisampleState.xml index 8f43b3a2f70..94b8e3d1379 100644 --- a/doc/classes/RDPipelineMultisampleState.xml +++ b/doc/classes/RDPipelineMultisampleState.xml @@ -25,7 +25,7 @@ The number of MSAA samples (or SSAA samples if [member enable_sample_shading] is [code]true[/code]) to perform. Higher values result in better antialiasing, at the cost of performance. - The sampleSee the [url=https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#fragops-samplemask]sample mask Vulkan documentation[/url] for more details. + The sample mask array. See the [url=https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#fragops-samplemask]sample mask Vulkan documentation[/url] for more details. diff --git a/doc/classes/RDPipelineRasterizationState.xml b/doc/classes/RDPipelineRasterizationState.xml index 9da66f3d0dd..e97113cce45 100644 --- a/doc/classes/RDPipelineRasterizationState.xml +++ b/doc/classes/RDPipelineRasterizationState.xml @@ -29,7 +29,7 @@ The winding order to use to determine which face of a triangle is considered its front face. - THe line width to use when drawing lines (in pixels). Thick lines may not be supported on all hardware. + The line width to use when drawing lines (in pixels). Thick lines may not be supported on all hardware. The number of control points to use when drawing a patch with tessellation enabled. Higher values result in higher quality at the cost of performance. diff --git a/doc/classes/RenderingDevice.xml b/doc/classes/RenderingDevice.xml index e4e194adf0c..14f6235d08a 100644 --- a/doc/classes/RenderingDevice.xml +++ b/doc/classes/RenderingDevice.xml @@ -1786,7 +1786,7 @@ - Sampler uniform. TODO: Difference between sampler and texture uniform + Sampler uniform. Sampler uniform with a texture. @@ -1795,16 +1795,16 @@ Texture uniform. - Image uniform. TODO: Difference between texture and image uniform + Image uniform. - Texture buffer uniform. TODO: Difference between texture and texture buffe uniformr + Texture buffer uniform. - Sampler uniform with a texture buffer. TODO: Difference between texture and texture buffer uniform + Sampler uniform with a texture buffer. - Image buffer uniform. TODO: Difference between texture and image uniforms + Image buffer uniform. Uniform buffer uniform. diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml index 02c1286392c..a36afc7ff1a 100644 --- a/doc/classes/RenderingServer.xml +++ b/doc/classes/RenderingServer.xml @@ -1375,7 +1375,7 @@ - Tries to free an object in the RenderingServer. To avoid memory leaks, this should be called after using an object as memory management does not occur automatically when using RendeeringServer directly. + Tries to free an object in the RenderingServer. To avoid memory leaks, this should be called after using an object as memory management does not occur automatically when using RenderingServer directly. diff --git a/doc/classes/XRInterfaceExtension.xml b/doc/classes/XRInterfaceExtension.xml index 9059a5a4655..b933abd1821 100644 --- a/doc/classes/XRInterfaceExtension.xml +++ b/doc/classes/XRInterfaceExtension.xml @@ -101,7 +101,7 @@ - Returns a [Dictionary] with system informationr elated to this interface. + Returns a [Dictionary] with system information related to this interface. diff --git a/platform/android/doc_classes/EditorExportPlatformAndroid.xml b/platform/android/doc_classes/EditorExportPlatformAndroid.xml index d61d63d2422..098536b81c3 100644 --- a/platform/android/doc_classes/EditorExportPlatformAndroid.xml +++ b/platform/android/doc_classes/EditorExportPlatformAndroid.xml @@ -150,7 +150,7 @@ Allows an application to act as an AccountAuthenticator for the AccountManager. - Allows an application to collect battery statistics. Sett [url=https://developer.android.com/reference/android/Manifest.permission#BATTERY_STATS]BATTERY_STATS[/url]. + Allows an application to collect battery statistics. See [url=https://developer.android.com/reference/android/Manifest.permission#BATTERY_STATS]BATTERY_STATS[/url]. Must be required by an AccessibilityService, to ensure that only the system can bind to it. See [url=https://developer.android.com/reference/android/Manifest.permission#BIND_ACCESSIBILITY_SERVICE]BIND_ACCESSIBILITY_SERVICE[/url]. diff --git a/platform/macos/doc_classes/EditorExportPlatformMacOS.xml b/platform/macos/doc_classes/EditorExportPlatformMacOS.xml index 6af816989d9..70a1a6e90c9 100644 --- a/platform/macos/doc_classes/EditorExportPlatformMacOS.xml +++ b/platform/macos/doc_classes/EditorExportPlatformMacOS.xml @@ -23,7 +23,7 @@ Copyright notice for the bundle visible to the user (localized). - Application icon file. If left empty, it will fallback to [member ProjectSettings.application/config/macos_native_icon], and then to [member ProjectSettings.application/config/icon]. + Application icon file. If left empty, it will fallback to [member ProjectSettings.application/config/macos_native_icon], and then to [member ProjectSettings.application/config/icon]. Interpolation method used to resize application icon. diff --git a/platform/windows/doc_classes/EditorExportPlatformWindows.xml b/platform/windows/doc_classes/EditorExportPlatformWindows.xml index 80928d74184..8518bfef534 100644 --- a/platform/windows/doc_classes/EditorExportPlatformWindows.xml +++ b/platform/windows/doc_classes/EditorExportPlatformWindows.xml @@ -25,7 +25,7 @@ Version number of the file. Required. See [url=https://learn.microsoft.com/en-us/windows/win32/menurc/stringfileinfo-block]StringFileInfo[/url]. - Application icon file. If left empty, it will fallback to [member ProjectSettings.application/config/windows_native_icon], and then to [member ProjectSettings.application/config/icon]. + Application icon file. If left empty, it will fallback to [member ProjectSettings.application/config/windows_native_icon], and then to [member ProjectSettings.application/config/icon]. Interpolation method used to resize application icon.