Skip to content

spool / RaycastRef

Interface: RaycastRef

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

Properties

cast

readonly cast: FunctionRef

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

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:55

Fire the ray from the current run context: seed the reach budget and start the march. Must run from an already-positioned/anchored context (the caller owns the origin + facing), e.g. execute at @s anchored eyes positioned ^ ^ ^ run ....

Parameters

ctx

FunctionContext

Returns

void

Released under the MIT License · Credits