半透明の設定には、Effect3D クラス内のsetSemiTransparentEnabled( boolean isEnabled ) を設定します。半透明を有効にする場合は true 、無効にする場合はfalse を設定してください。
/**
* commandAction() メソッド
* ソフトキー押下時処理(描画パラメータ変更)
*/
public void commandAction( Command c, Displayable d ){
* commandAction() メソッド
* ソフトキー押下時処理(描画パラメータ変更)
*/
public void commandAction( Command c, Displayable d ){
String label = c.getLabel();
/* シェーディング方法変更 */
if( label.equals( commandLabels[0] ) ){
}if( label.equals( commandLabels[0] ) ){
effect.setSemiTransparentEnabled( false );
}else if( label.equals( commandLabels[1] ) ){
effect.setSemiTransparentEnabled( true );
}
半透明の有効(左)・無効(右)

