Class RenderContext

Context used when rendering objects, containing information about visibility and ownership.

Hierarchy

  • RenderContext

Properties

oldParents: Set<DisplayParent>
player: Player

Player that a view is being rendered for.

Accessors

  • get isHidden(): boolean
  • If true, objects should be rendered in a hidden state. For example, cards won't show their true face, but a generic hidden face.

    Returns boolean

Methods

  • Parameters

    • source: (() => string | number)
        • (): string | number
        • Returns string | number

    • value: string | number
    • parent: DisplayParent
    • Optional options: IDisplayOptions

    Returns IView

  • Parameters

    • Optional value: Vector3 | {
          x?: number;
          y?: number;
          z?: number;
      }

    Returns Vector3

Generated using TypeDoc