Repository navigation
API Class Ray
github-actions[bot] edited this page Nov 30, 2026
·
3 revisions
Defined in: src/engine/core/geometry.ts:5
A half-line: origin plus direction (always normalized) times a distance (ADR 0073).
new Ray(origin?, direction?): Ray;Defined in: src/engine/core/geometry.ts:9
Vec3Input = ...
Vec3Input = ...
Ray
readonly direction: Vector3;Defined in: src/engine/core/geometry.ts:7
readonly origin: Vector3;Defined in: src/engine/core/geometry.ts:6
at(t): Vector3;Defined in: src/engine/core/geometry.ts:15
The point t units along the ray.
number
toString(): string;Defined in: src/engine/core/geometry.ts:23
string
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference