valuegenerated
Pointer.ray_direction
Read-only unit Vec3 the world camera's ray through the pointer travels along: straight into the screen for an orthographic camera, through the pointer's pixel for a perspective one. Zero, with ray_origin, when there is no pointer or no world camera, so check its length before using it.
Signature
Pointer.ray_direction: Vec3Member of Pointer
- Source
- docs/generated/decay-api.json
- Schema
- v1
- Engine version
- 0.1.0
- Source commit
909aca81368b