|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | 列挙型定数 | フィールド | メソッド | 詳細: 列挙型定数 | フィールド | メソッド |
java.lang.Objectjava.lang.Enum<TechniqueDef.LightMode>
com.jme3.material.TechniqueDef.LightMode
public static enum TechniqueDef.LightMode
Describes light rendering mode.
列挙型定数の概要 | |
---|---|
Disable
Disable light-based rendering |
|
FixedPipeline
Enable light rendering by using the renderer's setLighting
method. |
|
MultiPass
Enable light rendering by using multi-pass rendering. |
|
SinglePass
Enable light rendering by using a single pass. |
メソッドの概要 | |
---|---|
static TechniqueDef.LightMode |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。 |
static TechniqueDef.LightMode[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。 |
クラス java.lang.Enum から継承されたメソッド |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
クラス java.lang.Object から継承されたメソッド |
---|
getClass, notify, notifyAll, wait, wait, wait |
列挙型定数の詳細 |
---|
public static final TechniqueDef.LightMode Disable
public static final TechniqueDef.LightMode SinglePass
An array of light positions and light colors is passed to the shader containing the world light list for the geometry being rendered.
public static final TechniqueDef.LightMode MultiPass
The geometry will be rendered once for each light. Each time the light position and light color uniforms are updated to contain the values for the current light. The ambient light color uniform is only set to the ambient light color on the first pass, future passes have it set to black.
public static final TechniqueDef.LightMode FixedPipeline
renderer's setLighting
method.
The specific details of rendering the lighting is up to the renderer implementation.
メソッドの詳細 |
---|
public static TechniqueDef.LightMode[] values()
for (TechniqueDef.LightMode c : TechniqueDef.LightMode.values()) System.out.println(c);
public static TechniqueDef.LightMode valueOf(java.lang.String name)
name
- 返される列挙型定数の名前
java.lang.IllegalArgumentException
- 指定された名前を持つ定数を
この列挙型が持っていない場合
java.lang.NullPointerException
- 引数が null の場合
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | 列挙型定数 | フィールド | メソッド | 詳細: 列挙型定数 | フィールド | メソッド |