|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | 列挙型定数 | フィールド | メソッド | 詳細: 列挙型定数 | フィールド | メソッド |
java.lang.Objectjava.lang.Enum<VertexBuffer.Type>
com.jme3.scene.VertexBuffer.Type
public static 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 |
列挙型定数の詳細 |
---|
public static final VertexBuffer.Type Position
public static final VertexBuffer.Type Size
public static final VertexBuffer.Type Normal
public static final VertexBuffer.Type TexCoord
public static final VertexBuffer.Type Color
public static final VertexBuffer.Type Tangent
public static final VertexBuffer.Type Binormal
public static final VertexBuffer.Type InterleavedData
@Deprecated public static final VertexBuffer.Type MiscAttrib
public static final VertexBuffer.Type Index
public static final VertexBuffer.Type BindPosePosition
Position
.
If used with software skinning, the usage should be
VertexBuffer.Usage.CpuOnly
, and the buffer should be allocated
on the heap.
public static final VertexBuffer.Type BindPoseNormal
Normal
.
If used with software skinning, the usage should be
VertexBuffer.Usage.CpuOnly
, and the buffer should be allocated
on the heap.
public static final VertexBuffer.Type BoneWeight
VertexBuffer.Usage.CpuOnly
, and the buffer should be allocated
on the heap.
public static final VertexBuffer.Type BoneIndex
VertexBuffer.Usage.CpuOnly
, and the buffer should be allocated
on the heap.
public static final VertexBuffer.Type TexCoord2
public static final VertexBuffer.Type TexCoord3
public static final VertexBuffer.Type TexCoord4
public static final VertexBuffer.Type TexCoord5
public static final VertexBuffer.Type TexCoord6
public static final VertexBuffer.Type TexCoord7
public static final VertexBuffer.Type TexCoord8
メソッドの詳細 |
---|
public static VertexBuffer.Type[] values()
for (VertexBuffer.Type c : VertexBuffer.Type.values()) System.out.println(c);
public static VertexBuffer.Type valueOf(java.lang.String name)
name
- 返される列挙型定数の名前
java.lang.IllegalArgumentException
- 指定された名前を持つ定数を
この列挙型が持っていない場合
java.lang.NullPointerException
- 引数が null の場合
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | 列挙型定数 | フィールド | メソッド | 詳細: 列挙型定数 | フィールド | メソッド |