LineSegmentData class Geometry
Disconnected line segments (point pairs) derived from a mesh, the output of MeshData.extractEdges.
Feed positions to a line-list mesh for one-pixel debug rendering, or
construct a LineSegmentsGeometry for thick, camera-facing segments.
Constructors
- LineSegmentData({required Float32List positions, Float32List? normals})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- normals → Float32List?
-
Optional per-endpoint surface normals matching positions, carried
from the source mesh so callers can offset segments off the surface.
final
- positions → Float32List
-
Endpoint positions, six floats (two xyz points) per segment.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- segmentCount → int
-
The number of segments.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited