As a sidenote, to actually find these capability bits for anything in the
Java3d core, simply remember that they are inherited from the classes parent
(in this case, Group) too, so in the JavaDocs go up the tree and look at all
the capability bits in those objects, as they will probably apply too. For
these 'leaf' classes, you will only find the capability bits listed right
there that correspond to the unique capability optimizations of that
extending class.


>From: John Wright <[EMAIL PROTECTED]>
>Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [JAVA3D] BranchGroup capabilityBits
>Date: Fri, 30 Aug 2002 12:25:15 -0500
>
>Rob,
>
>Try:
>   .setCapability(Group.ALLOW_CHILDREN_EXTEND);
>   .setCapability(Group.ALLOW_CHILDREN_WRITE);
>
>- John Wright
>Starfire Research
>
>
>Rob Elsam wrote:
> >
> > I would like to add a branchGroup to another at run
> > time on the push of a button:
> > contentBranch.addChild(newChild);
> > However doing this causes a restrictedAccessException.
> >
> > I assume you have to set the capability of the
> > BranchGroup in order to enable it to have a child
> > added at run time.  However I can't seem to find such
> > a capability bit.  Does a capability bit exist that
> > allows a branchGroup to have a child added to it at
> > run time?
> >
> > Thanks in advance
> >
> > Rob Elsam
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com
> >
> >
>===========================================================================
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
>body
> > of the message "signoff JAVA3D-INTEREST".  For general help, send email
>to
> > [EMAIL PROTECTED] and include in the body of the message "help".
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff JAVA3D-INTEREST".  For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".




------------------------

Chris Forrester

http://www.geocities.com/Psionic81


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to