You've already forked godot
							
							
				mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-04 12:00:25 +00:00 
			
		
		
		
	Update SubViewport documentations to include a note about input behaviour
This commit is contained in:
		@@ -6,6 +6,7 @@
 | 
			
		||||
	<description>
 | 
			
		||||
		[SubViewport] Isolates a rectangular region of a scene to be displayed independently. This can be used, for example, to display UI in 3D space.
 | 
			
		||||
		[b]Note:[/b] [SubViewport] is a [Viewport] that isn't a [Window], i.e. it doesn't draw anything by itself. To display anything, [SubViewport] must have a non-zero size and be either put inside a [SubViewportContainer] or assigned to a [ViewportTexture].
 | 
			
		||||
		[b]Note:[/b] [InputEvent]s are not passed to a standalone [SubViewport] by default. To ensure [InputEvent] propagation, a [SubViewport] can be placed inside of a [SubViewportContainer].
 | 
			
		||||
	</description>
 | 
			
		||||
	<tutorials>
 | 
			
		||||
		<link title="Using Viewports">$DOCS_URL/tutorials/rendering/viewports.html</link>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user