Click or drag to resize
AB4D logo

LinesUpdaterUnregisterLine(BaseLineVisual3D) Method

UnregisterLine method can be called to manually remove the line Visual3D from being updated with LinesUpdater.

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public void UnregisterLine(
	BaseLineVisual3D lineVisual3D
)

Parameters

lineVisual3D  BaseLineVisual3D
lineModel as any Visual3D derived from BaseLineVisual3D
Remarks

UnregisterLine method can be called to manually remove the line Visual3D from being updated with LinesUpdater.

All the lines that are created with Ab3d.PowerToys library are registered with LinesUpdater. LinesUpdater checks the camera and when it is changed it updates the lines accordingly. The LinesUpdater also checks if the lines, parent Visuals or Viewport3D are removed from the visual tree. In this case it unregisters the line. But it is also possible to unregister the lines manually with Reset or UnregisterLine methods.

See Also