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

spool / LookRay

Interface: LookRay โ€‹

Defined in: plugins/raycast/look.ts:14

A Ray that fill points along the executing entity's line of sight.

Extends โ€‹

Properties โ€‹

dir โ€‹

readonly dir: ScoreVec3

Defined in: plugins/raycast/look.ts:10

Inherited from โ€‹

Ray.dir


origin โ€‹

readonly origin: ScoreVec3

Defined in: plugins/raycast/look.ts:9

Inherited from โ€‹

Ray.origin

Methods โ€‹

fill() โ€‹

fill(ctx): void

Defined in: plugins/raycast/look.ts:16

Writes the executing entity's eye position and look direction into the ray. Run as and at it.

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.