|
Duplicate :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
I've added the following code to MeshViewer.java file:
case " ":
root.getChildren().add(new Button("Button"));
break;
so that when you press spacebar a button is added to the scene root and immediately lightning changes in D3D pipeline. See attached images.
|