JSPM

  • Created
  • Published
  • Downloads 30
  • Score
    100M100P100Q62905F
  • License MIT

An editor for the smart filters.

Package Exports

  • @babylonjs/smart-filters-editor
  • @babylonjs/smart-filters-editor/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@babylonjs/smart-filters-editor) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Babylon.js Smart Filters - PREVIEW

PREVIEW WARNING

This package is currently in preview form, and updates will likely include breaking changes. It is not yet intended to be used by other projects.

Editor

The package contains a visual editor for Smart Filters - it is currently in preview form, and will undergo significant, possibly breaking, changes before leaving preview.

How to use

The editor can be open with the following code:

import { SmartFilterEditor } from "@babylonjs/smart-filters-editor";

    // Configure options
    const options: SmartFilterEditorOptions = {
        ... // See SmartFilterEditorOptions docstrings
    }

    // Display the editor
    SmartFilterEditor.Show(options);

The options provide the filter to display, information about the supported blocks, and callbacks for operations that must be implemented by the application hosting the application, such as rendering a newly created runtime, or loading and saving serialized versions of the Smart Filter.