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

helix / DisplayContext

Variable: DisplayContext โ€‹

const DisplayContext: object

Defined in: core/values/model.ts:8

Where an item model is being drawn, for Model.display. Use DisplayContext.HEAD.

Type Declaration โ€‹

FIRSTPERSON_LEFTHAND โ€‹

readonly FIRSTPERSON_LEFTHAND: "firstperson_lefthand" = "firstperson_lefthand"

FIRSTPERSON_RIGHTHAND โ€‹

readonly FIRSTPERSON_RIGHTHAND: "firstperson_righthand" = "firstperson_righthand"

FIXED โ€‹

readonly FIXED: "fixed" = "fixed"

GROUND โ€‹

readonly GROUND: "ground" = "ground"

GUI โ€‹

readonly GUI: "gui" = "gui"

readonly HEAD: "head" = "head"

Worn on the head, and also a spyglass (or anything using its model) held to the eye.

ON_SHELF โ€‹

readonly ON_SHELF: "on_shelf" = "on_shelf"

THIRDPERSON_LEFTHAND โ€‹

readonly THIRDPERSON_LEFTHAND: "thirdperson_lefthand" = "thirdperson_lefthand"

THIRDPERSON_RIGHTHAND โ€‹

readonly THIRDPERSON_RIGHTHAND: "thirdperson_righthand" = "thirdperson_righthand"

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