[X3D-Public] Any way to get 'this' proto instance inside itself?

Dave A dave at realmofconcepts.com
Mon Nov 1 00:48:59 PDT 2010


So, again I'm missing something obvious,
what would be the exact syntax for my 'addroute()' call?


Dave A

On 11/1/2010 12:00 AM, Braden McDaniel wrote:
> On Sun, 2010-10-31 at 23:49 -0700, Dave A wrote:
>> I need to create a ROUTE to/from 'this' proto instance's node. I know I
>> can get at 'this' proto's node's fields with IS, but how would I
>> construct a ROUTE on-the-fly?
> Once interfaces are mapped with IS, you just route to the internal
> interface.  Events sent to the interface will be reflected in the
> PROTO's (IS'd) interface.
>
>> More specific to my case: I have an external script that I need to ROUTE
>> to/from proto instances, and I want the proto to create those routes.
> Are you concerned about creating routes to/from nodes outside the PROTO
> from/to nodes inside the PROTO definition?  Off the top of my head, I
> can't think of why there would be a problem with that.
>



More information about the X3D-Public mailing list