Skip to content

Commit 2f90f06

Browse files
committed
PassNode: Rephrase description.
1 parent e1e38a1 commit 2f90f06

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/nodes/display/PassNode.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -730,10 +730,9 @@ class PassNode extends TempNode {
730730
}
731731

732732
/**
733-
* By default, the scissor rectangle is kept in sync with the pass's
734-
* resolution. This method allows to define a custom scissor rectangle.
735-
* To reverse the process and use auto-sizing again, call the method with `null`
736-
* as the single argument.
733+
* This method allows to define a custom scissor rectangle. By default, the scissor rectangle is kept
734+
* in sync with the pass's resolution. To reverse the process and use auto-sizing again, call the method
735+
* with `null` as the single argument.
737736
*
738737
* @param {?(number | Vector4)} x - The horizontal coordinate for the lower left corner of the box in logical pixel unit.
739738
* Instead of passing four arguments, the method also works with a single four-dimensional vector.
@@ -768,9 +767,9 @@ class PassNode extends TempNode {
768767
}
769768

770769
/**
771-
* By default, the viewport is kept in sync with the pass's resolution.
772-
* This method allows to define a custom viewport. To reverse the process and use
773-
* auto-sizing again, call the method with `null` as the single argument.
770+
* This method allows to define a custom viewport. By default, the viewport is kept in sync
771+
* with the pass's resolution. To reverse the process and use auto-sizing again, call the method
772+
* with `null` as the single argument.
774773
*
775774
* @param {number | Vector4} x - The horizontal coordinate for the lower left corner of the viewport origin in logical pixel unit.
776775
* @param {number} y - The vertical coordinate for the lower left corner of the viewport origin in logical pixel unit.

0 commit comments

Comments
 (0)