1.5. Debug Variables Panel - og2t/HiSlope GitHub Wiki

This panel might be useful if you want to track/debug some variables of your Filter.

In order to track and display variables and their values in Debug Vars Panel you have to pass their names into DEBUG_VARS array.

private static const DEBUG_VARS:Array = [
	"time",
	"frames"
];

And then pass the array in the init method of the Filter.

public function FilterName(OVERRIDEN:Object = null)
{
	// init your additional bitmapDatas, variables, etc. here

	time = 0;
	frames = 0;

	init(NAME, PARAMETERS, OVERRIDEN, DEBUG_VARS);
}

Whenever your variables change, their values will be updated in the Panel automatically.