Search found 4 matches

by miggs
Tue Mar 18, 2008 12:47 am
Forum: Beginners Help
Topic: AddTextSceneNode (try to change text )
Replies: 12
Views: 2186

Thanks for all the help guys...

I'm using the API.NET....
So for what I'm seeing the AddTextSceneNode returns an ISceneNode.
After stored i don't have access to the setText method...

Probably this feature hasn't been ported yet...

Thanks
by miggs
Mon Mar 17, 2008 3:44 pm
Forum: Beginners Help
Topic: AddTextSceneNode (try to change text )
Replies: 12
Views: 2186

Can you not do this: Code: // create the text scene node ITextSceneNode *txt = Device->getSceneManager()->addTextSceneNode (...); .... // change the text txt->setText(L"New Text"); or the c# equivalent which would be: Code: txt.setText(L"New Text"); Nop... Strangely addTextScene...
by miggs
Mon Mar 17, 2008 2:17 pm
Forum: Beginners Help
Topic: AddTextSceneNode (try to change text )
Replies: 12
Views: 2186

I'm using C#.

I think i have to do it how you said (stored each TextSceneNode in a field ), since i can't find a function to do it directly.

Thank's JP
by miggs
Mon Mar 17, 2008 11:41 am
Forum: Beginners Help
Topic: AddTextSceneNode (try to change text )
Replies: 12
Views: 2186

AddTextSceneNode (try to change text )

Hi How do i change the text in AddTextSceneNode that as already been created?? Or how do i eliminate an AddTextSceneNode so i can creat a new one in the same place? Here is the code i use to create the text: device_.SceneManager.AddTextSceneNode(device_.GUIEnvironment.BuiltInFont, caption, new Irrli...