LineGeometry¶
- class pythreejs.LineGeometry[source]¶
LineGeometry
Autogenerated by generate-wrappers.js This class is a custom class for pythreejs, with no direct corresponding class in three.js.
Inherits
LineSegmentsGeometry
.Three.js docs: https://threejs.org/docs/#api/geometries/LineGeometry
- positions¶
WebGLDataUnion(dtype="float32", shape_constraint=shape_constraints(None, 3)).tag(sync=True)
- colors¶
WebGLDataUnion(None, dtype="float32", shape_constraint=shape_constraints(None, 3), allow_none=True).tag(sync=True)
- type¶
Unicode("LineGeometry", allow_none=False).tag(sync=True)
- colors = WebGLDataUnion(None)
a numpy array or a NDArrayBase
- positions = WebGLDataUnion()
a numpy array or a NDArrayBase
- type = Unicode('LineGeometry')
a unicode string