ImFusion Web SDK

LabelConfig

ts
type LabelConfig = {
  name: EmbindString;
  color: vec4;
  isVisible2d: boolean;
  isVisible3d: boolean;
};

Object holding the metadata of a label value.

Properties

name

ts
name: EmbindString;

The name of the label.


color

ts
color: vec4;

The RGBA color used for rendering the label.


isVisible2d

ts
isVisible2d: boolean;

Whether the label is visible in 2D/MPR views.


isVisible3d

ts
isVisible3d: boolean;

Whether the label is visible in 3D views.

On this page