Skip to main content

set Appearance again

1 reply [Last post]
blabloeblabloebla
Offline
Joined: 2010-04-10

I can set the Appearance for a Sphere, but I wanna set Appearance again on keyPress.

Does someone know how I can do that?

Thanks,
blabloeblabloebla

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
odinsbane
Offline
Joined: 2009-08-24

Why can't you? You should get an error when you try to do it, and that error should explain what you need to do.

I can only guess that you need to set the capability. ie

yourSphere.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE )

Then you can change the appearance later.