[x3d-public] External prototypes

doug sanden highaspirations at hotmail.com
Thu Mar 12 06:48:37 PDT 2015


Ideally I think there should be a .loaded event or testable field on the externProtoInstance (the interface), so you can test / know when it's ready for routing.
-Doug

> when declaring external prototypes, the author needs to declare the
> subset of the interface she intends to use by replicating those fields
> from the prototype declaration (cf X3D spec 4.4.5.2)
>
> What is the rationale behind this? Seem to make the implementation a
> little bit simpler, but since events that occure before the prototype
> has been resolved are ignored anyway, this is really just a little bit.
> However it complicates the use of external prototypes because it's a
> popular source of error (at least for my first steps with prototypes at
> times when maybe the error messages in then popular X3D browsers where
> improvable).
>
> But maybe I miss something.
>
> Best,
> Kristian

 		 	   		  


More information about the x3d-public mailing list