Last modified: 2013-2-27
Class JitterObject
Extends Maxobj.
Creates Jitter objects (use JitterMatrix for jit.matrix)
Constructor Attributes | Constructor Name and Description |
---|---|
JitterObject(object_name, params)
Creates Jitter objects.
|
- Fields borrowed from class Maxobj:
- background, canhilite, colorindex, fontface, fontname, fontsize, hidden, hint, ignoreclick, js, maxclass, nextobject, patcher, rect, selected, valid, varname
Method Attributes | Method Name and Description |
---|---|
void |
freepeer()
Deletes the JitterObject
|
String |
- Methods borrowed from class Maxobj:
- annotation, color, help, message, notify, subpatcher, understands
Class Detail
JitterObject
(object_name, params)
Creates Jitter objects. (use JitterMatrix for jit.matrix)
Most JitterObjects implement a function
Most JitterObjects implement a function
matrixcalc()
to render/calculate their containig matrix;
- Example:
var win = new JitterObject("jit.window", 800, 600, "@fsaa", 1); var rend = new JitterObject("jit.gl.render",win.getregisteredname()); //example for matrixcalc() var output_a = new JitterMatrix(); var output_r = new JitterMatrix(); var output_g = new JitterMatrix(); var output_b = new JitterMatrix(); function redtester(inname){ var input = new JitterMatrix(inname); var unpacker = new JitterObject("jit.unpack"); output_a.setinfo(1,input.type,input.dim); output_r.setinfo(1,input.type,input.dim); output_g.setinfo(1,input.type,input.dim); output_b.setinfo(1,input.type,input.dim); // note array for outputs unpacker.matrixcalc(input,[output_a,output_r,output_g,output_b]); outlet(0,"jit_matrix",output_r.name); }
- Parameters:
- {String} object_name
- Name of Jitter object
- {mixed} params
- Parameter and attributes
Method Detail
{void}
freepeer
()
Deletes the JitterObject
{String}