com.jme3.scene
列挙型 Spatial.CullHint

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

public static enum Spatial.CullHint
extends java.lang.Enum<Spatial.CullHint>

Specifies how frustum culling should be handled by this spatial.


列挙型定数の概要
Always
          Always cull this from the view, throwing away this object and any children from rendering commands.
Dynamic
          Do not draw if we are not at least partially within the view frustum of the camera.
Inherit
          Do whatever our parent does.
Never
          Never cull this from view, always draw it.
 
メソッドの概要
static Spatial.CullHint valueOf(java.lang.String name)
          指定した名前を持つこの型の列挙型定数を返します。
static Spatial.CullHint[] values()
          この列挙型の定数を含む配列を宣言されている順序で返します。
 
クラス java.lang.Enum から継承されたメソッド
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
クラス java.lang.Object から継承されたメソッド
getClass, notify, notifyAll, wait, wait, wait
 

列挙型定数の詳細

Inherit

public static final Spatial.CullHint Inherit
Do whatever our parent does. If no parent, default to Dynamic.


Dynamic

public static final Spatial.CullHint Dynamic
Do not draw if we are not at least partially within the view frustum of the camera. This is determined via the defined Camera planes whether or not this Spatial should be culled.


Always

public static final Spatial.CullHint Always
Always cull this from the view, throwing away this object and any children from rendering commands.


Never

public static final Spatial.CullHint Never
Never cull this from view, always draw it. Note that we will still get culled if our parent is culled.

メソッドの詳細

values

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

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

valueOf

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

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