ShrinkRegionNTimes
Shrinks a region by a natural factor along each axis.
Syntax
C++
C#
Python
def ShrinkRegionNTimes( inRegion: Region, outRegion: Region, /, *, inNX: int = 2, inNY: int | None = None, inThreshold: float = 0.5 ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inRegion | Region | Input region | ||
![]() |
inNX | int | 1 - ![]() |
2 | |
![]() |
inNY | int | None | 1 - ![]() |
None | |
![]() |
inThreshold | float | 0.0 - 1.0 | 0.5 | How much of the input pixels must be present to produce output pixel. When 0 - any pixel, when 1 - all pixels. |
![]() |
outRegion | Region | Output region |



