Andreas Jerke wrote:
> Hello,
>
> if I set dublicateOnCloneTree=true for my Appearance object,
> do I have to set dublicateOnCloneTree=true for all sub NodeComponents
> (TransparencyAttributes, Material ...) of this appearance too ?
>

According to specification, if you are using

  Node cloneTree()

Yes, you need to set duplicateOnCloneTree to true for all
NodeComponents and subNodeComponents.

BUT we provoide another API :

  public Node cloneTree(boolean forceDuplicate)

which you can simply use this with forceDuplicate = true.
without the hassle of setting duplicateOnCloneTree flag for
all Node/subNodeComponent. (unless there is some
selected subNodeComponent you don't want to duplicate).

- Kelvin
----------------
Java 3D Team
Sun Microsystems Inc.

===========================================================================
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