libossia
libossia copied to clipboard
[ossia-max] have a property binding object
As a first step, this object should be able to bind to another object, and expose all of its parameters.
e.g.
[ossia.properties] ----> [ jit.gl.gridShape ]
would create
/my/model/jit.gl.gridShape
/my/model/jit.gl.gridShape/dim [vec2f]
/my/model/jit.gl.gridShape/shape [string]
and bind automatically to the attributes.
This looks like this could be done with
- jpatchline_get_box2
- jbox_get_object
- object_class
- object_attr_getnames
ossia.declare is a consensus for the name
the first argument will create an intermediate node before object attribute
if there is no, object classname is taken as node name