Click or drag to resize
AB4D logo

LinesUpdaterUnregisterLine(Model3D) Method

UnregisterLine method can be called to manually remove the line model 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(
	Model3D lineModel
)

Parameters

lineModel  Model3D
lineModel as Model3D
Remarks

UnregisterLine method can be called to manually remove the line model 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