-
//TODO add multiple options for arg + Object { *checkArgs{ |class, method, args, types| [args, types, (0..(args.size-1))].flopWith{ |aarg, type,i| if( ( (type.size > 0) and: { type.collect{|x| aarg.isKindOf(x) }.reduce('||').not }) || ( (ty ...
-
... methods bounds Examples Classes | GUI > Accessories'>Accessories QPenPrinter : QObject : Object QPen PDF export and printing of vector graphics Source: QPenPrinter.sc See also: Pen Description QPenPrinter allows Pen to operate on a printer ...
-
... Gui , TdefGui , TdefAllGui . First example: g = PdefGui (); // make a PdefGui g.object = Pdef ( \a ); // show when a Pdef is put in Pdef ( \a , Pbind(\note, 12)); // show whether it has a source Pdef ( \a ).play; // show whether playing, st ...
-
... r setMsg stopReadFromBus Examples Classes | Server > Nodes'>Nodes NodeControl : Object Encapsulates in an object a node and an index. Source: NodeControl.sc Description This object can be held by a client and have its value set without othe ...
-
... e, and update dependants when the value changes. Class Methods . new Arguments: object Object to poll. method Method of the object that provides the value. freq Polling frequency. delegate An object on which to call .changed - if none provi ...
-
... get = \doc; Verbosity.target = \win; g = JITGui.new(~verbose, 1); // make one g.object.key ~verbose.dump; g.object = 123; // object gets shown asCompileString g.object = (key: \otto); // if the object understands .key, key gets shown g.obje ...
-
Writing SuperCollider Classes For a basic tutorial on how standard object-orientated classes are composed, look elsewhere http://www.google.com/search?q=oop+class+tutorial Note: Class definitions are statically compiled when you launch supe ...
-
... World3(RedVector2D[width, height], wgrav, 20, 0.02); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector[0.5, 0.5].rand2; RedPendulum(world, loc, vel, 0, 1.rrand(5), 5.rrand(80)) //world,loc,vel ...
-
... World3(RedVector2D[width, height], wgrav, 20, 0.02); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector[0.5, 0.5].rand2; RedPendulum(world, loc, vel, 0, 1.rrand(5), 5.rrand(80)) //world,loc,vel ...
-
... s Model. It is used to create the option of actions performed at a change of an object, such as a Synth being started or freed. This helpfile will not explain how this works, but instead show a number of wslib methods that use it. see also: ...