This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > VRML > July 2005 > How to associate a X3DNode to a java variable?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to associate a X3DNode to a java variable?
nunomartins01

2005-07-13, 7:39 pm

Hello

Can anyone tell me how to associate a X3DNode to a java variable?

I'm traying to associate the field "orientation" from a Viewpoint to a
java variable.

X3DNode view;
view = mainScene.getNamedNode("VPOINT");
SFRotation orientacaoX3D = (SFRotation) view.getField("orientation");

but now I don't know how to associate the "orientacaoX3D" to a java
variable...

I want to associate to a java variable to acess the values of the field
orientation...

Can anyone help me?

Thanks
Nuno

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews