Selaa lähdekoodia

Merge pull request #109813 from bruvzg/exc_note

Clarify that `EXCLUDE_FROM_CAPTURE` only works with native windows.
Thaddeus Crews 2 viikkoa sitten
vanhempi
commit
c8e0845b86
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      doc/classes/Window.xml

+ 1 - 0
doc/classes/Window.xml

@@ -904,6 +904,7 @@
 		</constant>
 		<constant name="FLAG_EXCLUDE_FROM_CAPTURE" value="9" enum="Flags">
 			Windows is excluded from screenshots taken by [method DisplayServer.screen_get_image], [method DisplayServer.screen_get_image_rect], and [method DisplayServer.screen_get_pixel].
+			[b]Note:[/b] This flag has no effect in embedded windows.
 			[b]Note:[/b] This flag is implemented on macOS and Windows (10, 20H1).
 			[b]Note:[/b] Setting this flag will prevent standard screenshot methods from capturing a window image, but does [b]NOT[/b] guarantee that other apps won't be able to capture an image. It should not be used as a DRM or security measure.
 		</constant>