Options
All
  • Public
  • Public/Protected
  • All
Menu

Viewer - Gumball

Index

Type Aliases

GumballEventResponseMapping: { gumball.matrixChanged: IGumballEvent }

Definition of the event response mapping for gumball events. This mapping is used to map the event type to the corresponding event interface.

Type declaration

Functions

  • updateGumballTransformation(node: ITreeNode, transformation?: mat4): void
  • Update the gumball transformation of a node.

    If a transformation is provided, the gumball transformation is updated. If no transformation is provided, the gumball transformation is removed.

    Parameters

    • node: ITreeNode

      The node to update the gumball transformation of.

    • Optional transformation: mat4

      The transformation to apply to the gumball.

    Returns void