Click or drag to resize
AB4D logo

LinesUpdaterReset Method (Viewport3D)

Manually clears all the registered lines that are shown in parentViewport.

Namespace:  Ab3d.Utilities
Assembly:  Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 7.6.6025.1040
Syntax
C#
public void Reset(
	Viewport3D parentViewport
)

Parameters

parentViewport
Type: System.Windows.ControlsViewport3D
Viewport3D that contains lines that should be unregistered.
Remarks

Manually clears all the registered lines that are shown in parentViewport.

The method Reset without parameters removes all the registered lines regardless of the Viewport3D.

This is not always desired. For example if the application is using CameraAxisPanel and calls Reset() method without parameters, the LinesUpdater will stop updating the lines that show the axes in CameraAxisPanel. This can be prevented with calling Reset method and passing Viewport3D as a parameter.

See Also