Class IContext

Hierarchy

  • IContext

Constructors

Methods

  • Optional method to be applied on the native configuration state.

    Returns

    The modified configuration state to be sent to the graphics engine.

    Parameters

    • configuration: Configuration

      The configuration state from the configurator.

    Returns Configuration

  • Optional method to be applied on the native configuration state, to be used for preview creation.

    Returns

    The modified configuration state to be sent to the graphics engine.

    Parameters

    • configuration: Configuration

      The configuration state from the configurator.

    Returns Configuration

  • Optional method to map a commercial material id to an IG.GFX material.

    Returns

    A fully scoped material identifier or null/undefined.

    Parameters

    • property: string

      The id of the commercial property.

    • value: string

      The id of the commercial value.

    • Optional state: {
          [key: string]: string;
      }

      An optional configuration state. Sometimes this may be needed to clearly interpret the value of a property.

      • [key: string]: string

    Returns string

Generated using TypeDoc