/** * Retrieves the current texture object. * @return the texture object * @exception CapabilityNotSetException if appropriate capability is * not set and this object is part of live or compiled scene graph */ public Texture getTexture() { if (isLiveOrCompiled()) if (!this.getCapability(ALLOW_TEXTURE_READ)) throw new CapabilityNotSetException(J3dI18N.getString("Appearance3")); return ((AppearanceRetained)this.retained).getTexture(); }
return true; nc = rt.getTexture(); if ((nc != null) && nc.duplicateChild()) return true;
hashtable)); rt.setTexture((Texture) getNodeComponent(app.getTexture(), forceDuplicate, hashtable));