Procházet zdrojové kódy

PMREMGenerator.js: Fix options field name in docstring (#32285)

ycw před 6 měsíci
rodič
revize
340b0b9bc9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/extras/PMREMGenerator.js

+ 1 - 1
src/extras/PMREMGenerator.js

@@ -103,7 +103,7 @@ class PMREMGenerator {
 	 * @param {number} [far=100] - The far plane distance.
 	 * @param {number} [far=100] - The far plane distance.
 	 * @param {Object} [options={}] - The configuration options.
 	 * @param {Object} [options={}] - The configuration options.
 	 * @param {number} [options.size=256] - The texture size of the PMREM.
 	 * @param {number} [options.size=256] - The texture size of the PMREM.
-	 * @param {Vector3} [options.renderTarget=origin] - The position of the internal cube camera that renders the scene.
+	 * @param {Vector3} [options.position=origin] - The position of the internal cube camera that renders the scene.
 	 * @return {WebGLRenderTarget} The resulting PMREM.
 	 * @return {WebGLRenderTarget} The resulting PMREM.
 	 */
 	 */
 	fromScene( scene, sigma = 0, near = 0.1, far = 100, options = {} ) {
 	fromScene( scene, sigma = 0, near = 0.1, far = 100, options = {} ) {

粤ICP备19079148号