LineSegments2

class pythreejs.LineSegments2(geometry=UninitializedSentinel, material=UninitializedSentinel)[source]

LineSegments2

Autogenerated by generate-wrappers.js This class is a custom class for pythreejs, with no direct corresponding class in three.js.

Inherits Mesh.

Three.js docs: https://threejs.org/docs/#api/objects/LineSegments2

material
Union([
    Instance(Uninitialized),
    Instance(LineMaterial),
    ], default_value=UninitializedSentinel, allow_none=True).tag(sync=True, **unitialized_serialization)
geometry
Union([
    Instance(Uninitialized),
    Instance(LineSegmentsGeometry),
    ], default_value=UninitializedSentinel, allow_none=True).tag(sync=True, **unitialized_serialization)
type
Unicode("LineSegments2", allow_none=False).tag(sync=True)
geometry = Union(<pythreejs.traits.Uninitialized object at 0x7fc6b858d668>)

an Uninitialized or a LineSegmentsGeometry

material = Union(<pythreejs.traits.Uninitialized object at 0x7fc6b858d668>)

an Uninitialized or a LineMaterial

type = Unicode('LineSegments2')

a unicode string