com.jme3.scene
列挙型 VertexBuffer.Type

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

public static enum VertexBuffer.Type
extends java.lang.Enum<VertexBuffer.Type>

Type of buffer. Specifies the actual attribute it defines.


列挙型定数の概要
BindPoseNormal
          Initial vertex normals, used with animation.
BindPosePosition
          Initial vertex position, used with animation.
Binormal
          Binormal vector, normalized (3 floats, optional)
BoneIndex
          Bone indices, used with animation (4 ubytes).
BoneWeight
          Bone weights, used with animation (4 floats).
Color
          Color and Alpha (4 floats)
Index
          Specifies the index buffer, must contain integer data (ubyte, ushort, or uint).
InterleavedData
          Specifies the source data for various vertex buffers when interleaving is used.
MiscAttrib
          推奨されていません。 
Normal
          Normal vector, normalized (3 floats).
Position
          Position of the vertex (3 floats)
Size
          The size of the point when using point buffers (float).
Tangent
          Tangent vector, normalized (3 floats)
TexCoord
          Texture coordinate (2 float)
TexCoord2
          Texture coordinate #2
TexCoord3
          Texture coordinate #3
TexCoord4
          Texture coordinate #4
TexCoord5
          Texture coordinate #5
TexCoord6
          Texture coordinate #6
TexCoord7
          Texture coordinate #7
TexCoord8
          Texture coordinate #8
 
メソッドの概要
static VertexBuffer.Type valueOf(java.lang.String name)
          指定した名前を持つこの型の列挙型定数を返します。
static VertexBuffer.Type[] values()
          この列挙型の定数を含む配列を宣言されている順序で返します。
 
クラス java.lang.Enum から継承されたメソッド
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
クラス java.lang.Object から継承されたメソッド
getClass, notify, notifyAll, wait, wait, wait
 

列挙型定数の詳細

Position

public static final VertexBuffer.Type Position
Position of the vertex (3 floats)


Size

public static final VertexBuffer.Type Size
The size of the point when using point buffers (float).


Normal

public static final VertexBuffer.Type Normal
Normal vector, normalized (3 floats).


TexCoord

public static final VertexBuffer.Type TexCoord
Texture coordinate (2 float)


Color

public static final VertexBuffer.Type Color
Color and Alpha (4 floats)


Tangent

public static final VertexBuffer.Type Tangent
Tangent vector, normalized (3 floats)


Binormal

public static final VertexBuffer.Type Binormal
Binormal vector, normalized (3 floats, optional)


InterleavedData

public static final VertexBuffer.Type InterleavedData
Specifies the source data for various vertex buffers when interleaving is used. By default the format is byte.


MiscAttrib

@Deprecated
public static final VertexBuffer.Type MiscAttrib
推奨されていません。 
Do not use.


Index

public static final VertexBuffer.Type Index
Specifies the index buffer, must contain integer data (ubyte, ushort, or uint).


BindPosePosition

public static final VertexBuffer.Type BindPosePosition
Initial vertex position, used with animation. Should have the same format and size as Position. If used with software skinning, the usage should be VertexBuffer.Usage.CpuOnly, and the buffer should be allocated on the heap.


BindPoseNormal

public static final VertexBuffer.Type BindPoseNormal
Initial vertex normals, used with animation. Should have the same format and size as Normal. If used with software skinning, the usage should be VertexBuffer.Usage.CpuOnly, and the buffer should be allocated on the heap.


BoneWeight

public static final VertexBuffer.Type BoneWeight
Bone weights, used with animation (4 floats). If used with software skinning, the usage should be VertexBuffer.Usage.CpuOnly, and the buffer should be allocated on the heap.


BoneIndex

public static final VertexBuffer.Type BoneIndex
Bone indices, used with animation (4 ubytes). If used with software skinning, the usage should be VertexBuffer.Usage.CpuOnly, and the buffer should be allocated on the heap.


TexCoord2

public static final VertexBuffer.Type TexCoord2
Texture coordinate #2


TexCoord3

public static final VertexBuffer.Type TexCoord3
Texture coordinate #3


TexCoord4

public static final VertexBuffer.Type TexCoord4
Texture coordinate #4


TexCoord5

public static final VertexBuffer.Type TexCoord5
Texture coordinate #5


TexCoord6

public static final VertexBuffer.Type TexCoord6
Texture coordinate #6


TexCoord7

public static final VertexBuffer.Type TexCoord7
Texture coordinate #7


TexCoord8

public static final VertexBuffer.Type TexCoord8
Texture coordinate #8

メソッドの詳細

values

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

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

valueOf

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

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