1 | Material blue = new Material( ); |
2 | blue.setDiffuseColor( 0.0, 0.0, 1.0 ); |
3 | Appearance color = new Appearance( ); |
4 | color.setMaterial( blue ); |
5 | Text3D hello = new Text3D( ); |
6 | hello.setFont3D( someFont ); |
7 | hello.setString( "Hello world" ); |
8 | Shape3D sign = new Shape3D( ); |
9 | sign.setGeometry( hello ); |
10 | sign.setAppearance( color ); |