Ray

class pythreejs.Ray(origin=[0, 0, 0], direction=[0, 0, 0], )[source]

Ray

Autogenerated by generate-wrappers.js See https://threejs.org/docs/#api/math/Ray

Inherits ThreeWidget.

Three.js docs: https://threejs.org/docs/#api/math/Ray

origin
Vector3(default_value=[0, 0, 0]).tag(sync=True)
direction
Vector3(default_value=[0, 0, 0]).tag(sync=True)
direction = Vector3((0, 0, 0))

a tuple of any type

origin = Vector3((0, 0, 0))

a tuple of any type