Click or drag to resize
SoWinViewerSetAutoClipTolerance Method

Sets the auto clipping tolerance value.

Namespace: OIV.Inventor.Win.Viewers
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public void SetAutoClipTolerance(
	float tolerance
)

Parameters

tolerance
Type: SystemSingle
Remarks

Auto clipping normally sets the near and far clip planes based on the scene's bounding box. If the camera is inside the scene bounding box, the near plane is moved in front of the camera using tolerance *bbox size. The default is 0.001.

The default value can be set using the environment variable OIV_AUTO_CLIP_TOLERANCE.

See Also