Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

spool / RaycastRef

Interface: RaycastRef โ€‹

Defined in: plugins/raycast/index.ts:52

Properties โ€‹

cast โ€‹

readonly cast: FunctionRef

Defined in: plugins/raycast/index.ts:54

raycast/<name> - the raw marcher function, to ctx.call yourself if you seed steps by hand.

Methods โ€‹

fire() โ€‹

fire(ctx): void

Defined in: plugins/raycast/index.ts:59

Fires the ray from the current context. The caller must set position and facing, e.g. execute at @s anchored eyes positioned ^ ^ ^ run ....

Parameters โ€‹

ctx โ€‹

FunctionContext

Returns โ€‹

void

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.