CropSurfaceToRegion
Removes points that are not present in a given region.
Syntax
C++
C#
Python
def CropSurfaceToRegion( inSurface: Surface, inRegion: Region, outSurface: Surface, /, *, inPreserveDimensions: bool = False ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inSurface | Surface | Input surface | |
![]() |
inRegion | Region | Region from which the points are not removed | |
![]() |
inPreserveDimensions | bool | False | Flag indicating whether the surface dimensions should be preserved or not |
![]() |
outSurface | Surface | Output surface |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.


