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