|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | 列挙型定数 | フィールド | メソッド | 詳細: 列挙型定数 | フィールド | メソッド |
java.lang.Objectjava.lang.Enum<RenderState.BlendMode>
com.jme3.material.RenderState.BlendMode
public static enum RenderState.BlendMode
BlendMode
specifies the blending operation to use.
RenderState.setBlendMode(com.jme3.material.RenderState.BlendMode)
列挙型定数の概要 | |
---|---|
Additive
Additive blending. |
|
Alpha
Alpha blending, interpolates to source color from dest color using source alpha. |
|
AlphaAdditive
Additive blending that is multiplied with source alpha. |
|
Color
Color blending, blends in color from dest color using source color. |
|
Modulate
Multiplies the source and dest colors. |
|
ModulateX2
Multiplies the source and dest colors then doubles the result. |
|
Off
No blending mode is used. |
|
PremultAlpha
Premultiplied alpha blending, for use with premult alpha textures. |
メソッドの概要 | |
---|---|
static RenderState.BlendMode |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。 |
static RenderState.BlendMode[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。 |
クラス java.lang.Enum から継承されたメソッド |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
クラス java.lang.Object から継承されたメソッド |
---|
getClass, notify, notifyAll, wait, wait, wait |
列挙型定数の詳細 |
---|
public static final RenderState.BlendMode Off
public static final RenderState.BlendMode Additive
Result = Source Color + Destination Color
public static final RenderState.BlendMode PremultAlpha
Result = Source Color + (Dest Color * (1 - Source Alpha) )
public static final RenderState.BlendMode AlphaAdditive
Result = (Source Alpha * Source Color) + Dest Color
public static final RenderState.BlendMode Color
Result = Source Color + (1 - Source Color) * Dest Color
public static final RenderState.BlendMode Alpha
Result = Source Alpha * Source Color + (1 - Source Alpha) * Dest Color
public static final RenderState.BlendMode Modulate
Result = Source Color * Dest Color
public static final RenderState.BlendMode ModulateX2
Result = 2 * Source Color * Dest Color
メソッドの詳細 |
---|
public static RenderState.BlendMode[] values()
for (RenderState.BlendMode c : RenderState.BlendMode.values()) System.out.println(c);
public static RenderState.BlendMode valueOf(java.lang.String name)
name
- 返される列挙型定数の名前
java.lang.IllegalArgumentException
- 指定された名前を持つ定数を
この列挙型が持っていない場合
java.lang.NullPointerException
- 引数が null の場合
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | 列挙型定数 | フィールド | メソッド | 詳細: 列挙型定数 | フィールド | メソッド |