Raycaster¶
-
class
pythreejs.Raycaster(origin=[0, 0, 0], direction=[0, 0, 0], near=0, far=1000000, )[source]¶ Raycaster
Autogenerated by generate-wrappers.js See https://threejs.org/docs/#api/core/Raycaster
Inherits
ThreeWidget.Three.js docs: https://threejs.org/docs/#api/core/Raycaster
-
origin¶ Vector3(default_value=[0, 0, 0]).tag(sync=True)
-
direction¶ Vector3(default_value=[0, 0, 0]).tag(sync=True)
-
near¶ CFloat(0, allow_none=False).tag(sync=True)
-
far¶ CFloat(1000000, allow_none=False).tag(sync=True)
-
ray¶ Instance(Ray, allow_none=True).tag(sync=True, **widget_serialization)
-
linePrecision¶ CFloat(1, allow_none=False).tag(sync=True)
-
direction = Vector3((0, 0, 0)) a tuple of any type
-
far = CFloat(1000000) a float
-
linePrecision = CFloat(1) a float
-
near = CFloat(0) a float
-
origin = Vector3((0, 0, 0)) a tuple of any type
-
ray = Instance() a Ray or None
-