Appearance
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 โ
readonlydir:ScoreVec3
Defined in: plugins/raycast/look.ts:10
Inherited from โ
origin โ
readonlyorigin:ScoreVec3
Defined in: plugins/raycast/look.ts:9
Inherited from โ
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