Line2

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

Line2

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/Line2

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

an Uninitialized or a LineGeometry

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

an Uninitialized or a LineMaterial

type = Unicode('Line2')

a unicode string