Replace Shape3D in scene graph

D

Dave

I have a method that generates a Shape3D. I want to regenerate that shape
and replace the Shape3D originally added to the scene graph with the newly
generated one. How do I do this?

tg = new TransformGroup();
tg.addChild(generateShape());
rootBranchGroup.addChild(tg);

I want to replace the Shape3D added to tg with a new one created by
generateShape().
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Telegram bot api 0
Simple (x,y) graph 3
model/view object graph 0
Positioning and Transforming 0
Graph Drawing 0
Regex replace problem 2
Data Augmentation 0
replace extended characters 29

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top