Line |
The LineSelectorData type exposes the following members.
Name | Description | |
---|---|---|
AdjustLineDistanceWithLineThickness | Gets or sets a Boolean that specifies if LastDistance value is adjusted by line thickness. If true then distance is measured from line edge, if false then distance is measured from center of the line. This value is used only if LineSelectorData is created from BaseLineVisual3D. | |
CheckBoundingBox | Gets or sets Boolean that specifies if performance is optimized by first checking the bounding box before calculating screen positions. See remarks for more info. Default value is true when the original positions count is more or equal to 30. | |
LastDistance | Gets a float value that specifies the closest distance of this line to the specified position. This value is calculated in GetClosestDistance method. | |
LastLinePositionIndex | Gets an index of the first position of the line segment that is closest to the specified position. This value is calculated in GetClosestDistance method. | |
LineNode | Gets a line SceneNode that was used to create this LineSelectorData. | |
MaxScreenPositionsBoundingBox | Gets the maximum position of a 2D bounding box of the positions on the screen. This property has a valid value only after calling CalculateViewPositions method. | |
MinScreenPositionsBoundingBox | Gets the minimum position of a 2D bounding box of the positions on the screen. This property has a valid value only after calling CalculateViewPositions method. | |
PositionsTransform | Gets or sets a Transform that is used to transform all positions. | |
SceneView | SceneView that is used to show the 3D scene with 3D lines. | |
UsedLineThickness | Gets or sets LineThickness that is used to adjust the actual distance from the line. This value can be automatically set from the LineSelectorData when it is created with BaseLineVisual3D and adjustLineDistanceWithLineThickness set to true. | |
ViewPositions | Gets an array of 2D view positions that were generated from 3D line positions by the CalculateViewPositions method. |