Initializes reducible mesh representation according to given mesh geometry.

Namespace: Ico.Windows.Media.Media3D
Assembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public static ReducibleModel Preprocess(
	MeshGeometry3D mesh,
	ReducibleModel..::..PreprocessStatusCallback callback
)
Visual Basic
Public Shared Function Preprocess ( _
	mesh As MeshGeometry3D, _
	callback As ReducibleModel..::..PreprocessStatusCallback _
) As ReducibleModel
JScript
public static function Preprocess(
	mesh : MeshGeometry3D, 
	callback : ReducibleModel..::..PreprocessStatusCallback
) : ReducibleModel

Parameters

mesh
Type: System.Windows.Media.Media3D..::..MeshGeometry3D
Input mesh geometry.
callback
Type: Ico.Windows.Media.Media3D..::..ReducibleModel..::..PreprocessStatusCallback
Event handler for changes in preprocessing progress.

Return Value

New ReducibleModel if the preprocessing was completed successfully, null in case of an error or callback handler interruption.

See Also