public final void setModulationColor(final Color modulationColor) { if (modulationColor == this.m_modulationColor) { return; } if (modulationColor != null) { this.m_entity3D.setColor( modulationColor.getRed(), modulationColor.getGreen(), modulationColor.getBlue(), modulationColor.getAlpha()); } else { this.m_entity3D.setColor(1.0f, 1.0f, 1.0f, 1.0f); } this.m_modulationColor = modulationColor; }
public void setGuildAppearance( final Color bgColor, final Color fgColor, final byte symbolId, final byte shapeId) { this.m_element.setCustomColor(3, bgColor.getFloatRGBA()); this.m_element.setCustomColor(4, fgColor.getFloatRGBA()); boolean changed = false; final Anm guilBlason = this.attachLogo(this.m_logoLinkage, symbolId, this.m_guildBlason); if (guilBlason != null) { changed = true; this.m_guildBlason = guilBlason; } final Anm guilBlasonBg = this.attachLogo(this.m_logoBgLinkage, shapeId, this.m_guildBlasonBg); if (guilBlasonBg != null) { changed = true; this.m_guildBlasonBg = guilBlasonBg; } if (changed) { this.m_element.forceUpdateEquipment(); } }