Set capabilities while you build your content Shape3D myShape = new Shape3D( myGeom, myAppear ); myShape.setCapability( Shape3D.ALLOW_APPEARANCE_WRITE ); After a node is live, change attributes that have enabled capabilities myShape.setAppearance( newAppear ); // allowed But you cannot change attributes for which you do not have capabilities set myShape.setGeometry( newGeom ); // error!
Shape3D myShape = new Shape3D( myGeom, myAppear ); myShape.setCapability( Shape3D.ALLOW_APPEARANCE_WRITE );
myShape.setAppearance( newAppear ); // allowed
myShape.setGeometry( newGeom ); // error!