com.jme3.renderer.queue
列挙型 RenderQueue.ShadowMode

java.lang.Object
  上位を拡張 java.lang.Enum<RenderQueue.ShadowMode>
      上位を拡張 com.jme3.renderer.queue.RenderQueue.ShadowMode
すべての実装されたインタフェース:
java.io.Serializable, java.lang.Comparable<RenderQueue.ShadowMode>
含まれているクラス:
RenderQueue

public static enum RenderQueue.ShadowMode
extends java.lang.Enum<RenderQueue.ShadowMode>

ShadowMode is a marker used to specify how shadow effects should treat the spatial.


列挙型定数の概要
Cast
          Enable casting of shadows but not receiving them.
CastAndReceive
          Enable both receiving and casting of shadows.
Inherit
          Inherit the ShadowMode from the parent node.
Off
          Disable both shadow casting and shadow receiving for this spatial.
Receive
          Enable receiving of shadows but not casting them.
 
メソッドの概要
static RenderQueue.ShadowMode valueOf(java.lang.String name)
          指定した名前を持つこの型の列挙型定数を返します。
static RenderQueue.ShadowMode[] values()
          この列挙型の定数を含む配列を宣言されている順序で返します。
 
クラス java.lang.Enum から継承されたメソッド
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
クラス java.lang.Object から継承されたメソッド
getClass, notify, notifyAll, wait, wait, wait
 

列挙型定数の詳細

Off

public static final RenderQueue.ShadowMode Off
Disable both shadow casting and shadow receiving for this spatial. Generally used for special effects like particle emitters.


Cast

public static final RenderQueue.ShadowMode Cast
Enable casting of shadows but not receiving them.


Receive

public static final RenderQueue.ShadowMode Receive
Enable receiving of shadows but not casting them.


CastAndReceive

public static final RenderQueue.ShadowMode CastAndReceive
Enable both receiving and casting of shadows.


Inherit

public static final RenderQueue.ShadowMode Inherit
Inherit the ShadowMode from the parent node.

メソッドの詳細

values

public static RenderQueue.ShadowMode[] values()
この列挙型の定数を含む配列を宣言されている順序で返します。 このメソッドは次のようにして定数を反復するために使用できます:
for (RenderQueue.ShadowMode c : RenderQueue.ShadowMode.values())
    System.out.println(c);

戻り値:
この列挙型の定数を宣言されている順序で含む配列

valueOf

public static RenderQueue.ShadowMode valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と厳密に 一致している必要があります (余分な空白文字を含めることはできません)。

パラメータ:
name - 返される列挙型定数の名前
戻り値:
指定された名前を持つ列挙型定数
例外:
java.lang.IllegalArgumentException - 指定された名前を持つ定数を この列挙型が持っていない場合
java.lang.NullPointerException - 引数が null の場合