![]() | |
Lines |
public void UnregisterLine( BaseLineVisual3D lineVisual3D )
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.