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