Thanks Justin. I do want the latter, so cloneComponent() it is. Bit embarrassed that I didn't find that myself - sorry.
Tobe -----Original Message----- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Justin Couch Sent: 27 March 2002 02:14 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Cloning Toby Stephens wrote: > that I'd like to use a lot of times in my scene. What's the best way for me > to clone this object ? How much of it do you need to clone, or do you want the same object but with different attributes? If you want the former, just place it under a SharedGroup and use Link nodes. If you want the latter, use the cloneComponent() method to create a new copy. -- Justin Couch http://www.vlc.com.au/~justin/ Java Architect & Bit Twiddler http://www.yumetech.com/ Author, Java 3D FAQ Maintainer http://www.j3d.org/ ------------------------------------------------------------------- "Humanism is dead. Animals think, feel; so do machines now. Neither man nor woman is the measure of all things. Every organism processes data according to its domain, its environment; you, with all your brains, would be useless in a mouse's universe..." - Greg Bear, Slant ------------------------------------------------------------------- =========================================================================== 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".
