/** * Sets the renderingAttributes object to the specified object. * Setting it to null will result in default attribute usage. * @param renderingAttributes object that specifies the desired * renderingAttributes parameters * @exception CapabilityNotSetException if appropriate capability is * not set and this object is part of live or compiled scene graph */ public void setRenderingAttributes(RenderingAttributes renderingAttributes) { if (isLiveOrCompiled()) if (!this.getCapability(ALLOW_RENDERING_ATTRIBUTES_WRITE)) throw new CapabilityNotSetException(J3dI18N.getString("Appearance10")); ((AppearanceRetained)this.retained).setRenderingAttributes(renderingAttributes); }
rt.setRenderingAttributes((RenderingAttributes) getNodeComponent( app.getRenderingAttributes(), forceDuplicate,