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¶
IEEEFloat(0, allow_none=False).tag(sync=True)
- far¶
IEEEFloat(1000000, allow_none=False).tag(sync=True)
- ray¶
Instance(Ray, allow_none=True).tag(sync=True, **widget_serialization)
- linePrecision¶
IEEEFloat(1, allow_none=False).tag(sync=True)
- direction = Vector3([0, 0, 0])
a tuple of any type
- far = IEEEFloat(1000000)
a float
- linePrecision = IEEEFloat(1)
a float
- near = IEEEFloat(0)
a float
- origin = Vector3([0, 0, 0])
a tuple of any type
- ray = Instance()
a Ray or None