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