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
Input value inSurface Surface Input surface
Input value inRegion Region Region from which the points are not removed
Input value inPreserveDimensions bool False Flag indicating whether the surface dimensions should be preserved or not
Output value outSurface Surface Output surface

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.