view

The performance monitor plugin display a draggable performance monitor.

configuration.json

{
    "story":
    {
        "uid": "ferformance-monitor-plugin-demo",
        "name": "Performance monitor plugin demo",
        "slug": "ferformance-monitor-plugin-demo",
        "description": "Demonstrates the performance monitor plugin",
        "default": "scene-1",

        "scenes":
        [
            {
                "uid": "scene-1",
                "name": "Scene image",
                "slug": "scene-image",
                "description": "This is an image scene",

                "media":
                {
                    "uid": "media-1",
                    "type": "image",

                    "source":
                    {
                        "format": "equi",
                        "url": "01-forest.jpg"
                    }
                }
            }
        ]
    },

    "plugins":
    {
        "prefix": "./plugins/",

        "engines":
        [
            {
                "uid": "org.forgejs.performancemonitor",
                "url": "PerformanceMonitor/"
            }
        ],

        "instances":
        [
            {
                "uid": "performancemonitor",
                "engine": "org.forgejs.performancemonitor",
                "options":
                {
                    "mode": "fps",
                    "horizontalCenter": true,
                    "top": 5
                }
            }
        ]
    }
}

Back to samples

21st Apr 2017