Parameters
- envelope
- The envelope to expand or shrink.
- dx
- The scale factor along the X-axis. In other words, the amount to expand or shrink the width of the envelope.
- dy
- The scale factor along the Y-axis. In other words, the amount to expand or shrink the height of the envelope.
- dz
- The scale factor along the Z-axis. In other words, the amount to expand or shrink the depth of the envelope.
- asRatio
- If asRatio = false, the expansion is additive. If asRatio = true, the expansion is multiplicative.
Return Value
The scaled envelope.