فهرست منبع

Merge pull request #104533 from leandro-benedet-garcia/doc-change

Add clarifications to PhysicsDirectSpaceState docs on how to get their instance
Rémi Verschelde 3 ماه پیش
والد
کامیت
db170e8636
2فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 1 0
      doc/classes/PhysicsDirectSpaceState2D.xml
  2. 1 0
      doc/classes/PhysicsDirectSpaceState3D.xml

+ 1 - 0
doc/classes/PhysicsDirectSpaceState2D.xml

@@ -5,6 +5,7 @@
 	</brief_description>
 	<description>
 		Provides direct access to a physics space in the [PhysicsServer2D]. It's used mainly to do queries against objects and areas residing in a given space.
+		[b]Note:[/b] This class is not meant to be instantiated directly. Use [member World2D.direct_space_state] to get the world's physics 2D space state.
 	</description>
 	<tutorials>
 		<link title="Physics introduction">$DOCS_URL/tutorials/physics/physics_introduction.html</link>

+ 1 - 0
doc/classes/PhysicsDirectSpaceState3D.xml

@@ -5,6 +5,7 @@
 	</brief_description>
 	<description>
 		Provides direct access to a physics space in the [PhysicsServer3D]. It's used mainly to do queries against objects and areas residing in a given space.
+		[b]Note:[/b] This class is not meant to be instantiated directly. Use [member World3D.direct_space_state] to get the world's physics 3D space state.
 	</description>
 	<tutorials>
 		<link title="Physics introduction">$DOCS_URL/tutorials/physics/physics_introduction.html</link>