![]() |
![]() |
![]() |
![]() |
223 |
TextureAttributes myTA = new TextureAttributes( );
Transform3D myTrans = new Transform3D( );
myTrans.rotZ( Math.PI/4.0 ); // 45 degrees
myTA.setTextureTransform( myTrans );
Appearance myAppear = new Appearance( );
myAppear.setTextureAttributes( myTA );
Shape3D myShape = new Shape3D( myText, myAppear );