Преглед изворни кода

docs: Fix inconsistencies of Object3D.html (#25324)

- Default value of `matrixWorldAutoUpdate` is `DEFAULT_MATRIX_WORLD_AUTO_UPDATE` instead of `true`
- `DEFAULT_MATRIX_WORLD_AUTO_UPDATE` is not documented while
`DEFAULT_MATRIX_AUTO_UPDATE` is
0b5vr пре 2 година
родитељ
комит
ee74ac2886
1 измењених фајлова са 6 додато и 1 уклоњено
  1. 6 1
      docs/api/en/core/Object3D.html

+ 6 - 1
docs/api/en/core/Object3D.html

@@ -86,8 +86,9 @@
 
 		<h3>[property:Boolean matrixWorldAutoUpdate]</h3>
 		<p>
-		Default is true. If set, then the renderer checks every frame if the object and its children need matrix updates.
+		If set, then the renderer checks every frame if the object and its children need matrix updates.
 		When it isn't, then you have to maintain all matrices in the object and its children yourself.
+		Default is [page:Object3D.DEFAULT_MATRIX_WORLD_AUTO_UPDATE] (true).
 		</p>
 
 		<h3>[property:Boolean matrixWorldNeedsUpdate]</h3>
@@ -212,6 +213,10 @@
 
 		</p>
 
+		<h3>[property:Boolean DEFAULT_MATRIX_WORLD_AUTO_UPDATE]</h3>
+		<p>
+			The default setting for [page:.matrixWorldAutoUpdate matrixWorldAutoUpdate] for newly created Object3Ds.<br />
+		</p>
 
 		<h2>Methods</h2>