Click or drag to resize
Ab4d.SharpEngine logo

LineSelectorData Properties

The LineSelectorData type exposes the following members.

Properties
 NameDescription
Public propertyAdjustLineDistanceWithLineThickness 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.
Public propertyCheckBoundingBox 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.
Public propertyLastDistance Gets a float value that specifies the closest distance of this line to the specified position. This value is calculated in GetClosestDistance method.
Public propertyLastLinePositionIndex 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.
Public propertyLineNode Gets a line SceneNode that was used to create this LineSelectorData.
Public propertyMaxScreenPositionsBoundingBox 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.
Public propertyMinScreenPositionsBoundingBox 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.
Public propertyPositionsTransform Gets or sets a Transform that is used to transform all positions.
Public propertySceneView SceneView that is used to show the 3D scene with 3D lines.
Public propertyUsedLineThickness 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.
Public propertyViewPositions Gets an array of 2D view positions that were generated from 3D line positions by the CalculateViewPositions method.
Top
See Also