You are here: Start » AVL.NET » Function Reference » Region » Region Spatial Transforms » AVL.DownsampleRegion
Shrinks a region by the factor of two along each axis.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void DownsampleRegion ( AvlNet.Region inRegion, AvlNet.DownsampleRegionMode inDownsampleRegionMode, int inScaleStep, AvlNet.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | AvlNet.Region | Input region. | ||
![]() | inDownsampleRegionMode | AvlNet.DownsampleRegionMode | |||
![]() | inScaleStep | int | <0, 12> | 1 | Defines how many times the region size is divided by 2. Default value: 1. |
![]() | outRegion | AvlNet.Region | Output region. |