Lines |
public class LinesUpdater
The LinesUpdater type exposes the following members.
Name | Description | |
---|---|---|
Instance | Gets a static instance of LinesUpdater. | |
IsEmissiveMaterialUsed | Gets or sets a bool that specifies if EmissiveMaterial is used to display the lines. The default value is true. | |
LineArrowAngle | Gets or sets the angle of the line arrows. Default value is 15 degrees. Note that if the line is short so that the arrow length exceeds the amount defined by MaxLineArrowLength, the arrow is shortened which increased the arrow angle. | |
MaxLineArrowLength | Gets or sets a double value that specifies the maximum arrow length set as fraction of the line length - e.g. 0.333 means that the maximum arrow length will be 1 / 3 (=0.333) of the line length. If the line is short so that the arrow length exceeds the amount defined by MaxLineArrowLength, the arrow is shortened (the arrow angle is increased). | |
RegisteredLinesCount | Gets count of RegisteredLines | |
UpdateMode | Gets or sets a LinesUpdated mode that defines how often the LinesUpdater automatically updates the lines. |
Name | Description | |
---|---|---|
Refresh | Manually updates all the registered lines. This will regenerate the geometry of 3D lines that are on Viewport3D objects that are not visible (for example for offline rendering to bitmap). | |
RegisterViewport3D | Obsolete. RegisterViewport3D is OBSOLETE and does nothing. In the previous version it was used to prevent updating lines in Viewport3D in case it was unloaded from visual tree. | |
Reset | Manually clears all the registered lines. | |
UnregisterLine(BaseLineVisual3D) | UnregisterLine method can be called to manually remove the line Visual3D from being updated with LinesUpdater. | |
UnregisterLine(Model3D) | UnregisterLine method can be called to manually remove the line model from being updated with LinesUpdater. | |
UnregisterViewport3D | Obsolete. UnregisterViewport3D is OBSOLETE and does nothing. In the previous version it was used to unregister Viewport3D that was registered with RegisterViewport3D(Viewport3D) method. | |
UpdateDXEngineSettings | Update the DXEngine settings. Can is called when DXScene in DXViewportView is initialized. It can be also called if HardwareAccelerate3DLines or HardwareAccelerate3DLineCaps are manually changed. |