com.jme3.shader
列挙型 UniformBinding

java.lang.Object
  上位を拡張 java.lang.Enum<UniformBinding>
      上位を拡張 com.jme3.shader.UniformBinding
すべての実装されたインタフェース:
java.io.Serializable, java.lang.Comparable<UniformBinding>

public enum UniformBinding
extends java.lang.Enum<UniformBinding>


列挙型定数の概要
Aspect
          Aspect ratio of the resolution currently set.
CameraDirection
          Direction of the camera.
CameraLeft
          Left vector of the camera.
CameraPosition
          Camera position in world space.
CameraUp
          Up vector of the camera.
FrameRate
          Frames per second.
FrustumNearFar
          The near and far values for the camera frustum.
NormalMatrix
          The normal matrix.
NormalMatrixInverse
           
ProjectionMatrix
          The projection matrix.
ProjectionMatrixInverse
           
Resolution
          The width and height of the camera.
Time
          Time in seconds since the application was started.
Tpf
          Time in seconds that the last frame took.
ViewMatrix
          The view matrix.
ViewMatrixInverse
           
ViewPort
          Contains the four viewport parameters in this order: X = Left, Y = Top, Z = Right, W = Bottom.
ViewProjectionMatrix
          The view projection matrix.
ViewProjectionMatrixInverse
           
WorldMatrix
          The world matrix.
WorldMatrixInverse
           
WorldViewMatrix
          The world view matrix.
WorldViewMatrixInverse
           
WorldViewProjectionMatrix
          The world view projection matrix.
WorldViewProjectionMatrixInverse
           
 
メソッドの概要
static UniformBinding valueOf(java.lang.String name)
          指定した名前を持つこの型の列挙型定数を返します。
static UniformBinding[] values()
          この列挙型の定数を含む配列を宣言されている順序で返します。
 
クラス java.lang.Enum から継承されたメソッド
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
クラス java.lang.Object から継承されたメソッド
getClass, notify, notifyAll, wait, wait, wait
 

列挙型定数の詳細

WorldMatrix

public static final UniformBinding WorldMatrix
The world matrix. Converts Model space to World space. Type: mat4


ViewMatrix

public static final UniformBinding ViewMatrix
The view matrix. Converts World space to View space. Type: mat4


ProjectionMatrix

public static final UniformBinding ProjectionMatrix
The projection matrix. Converts View space to Clip/Projection space. Type: mat4


WorldViewMatrix

public static final UniformBinding WorldViewMatrix
The world view matrix. Converts Model space to View space. Type: mat4


NormalMatrix

public static final UniformBinding NormalMatrix
The normal matrix. The inverse transpose of the worldview matrix. Converts normals from model space to view space. Type: mat3


WorldViewProjectionMatrix

public static final UniformBinding WorldViewProjectionMatrix
The world view projection matrix. Converts Model space to Clip/Projection space. Type: mat4


ViewProjectionMatrix

public static final UniformBinding ViewProjectionMatrix
The view projection matrix. Converts View space to Clip/Projection space. Type: mat4


WorldMatrixInverse

public static final UniformBinding WorldMatrixInverse

ViewMatrixInverse

public static final UniformBinding ViewMatrixInverse

ProjectionMatrixInverse

public static final UniformBinding ProjectionMatrixInverse

ViewProjectionMatrixInverse

public static final UniformBinding ViewProjectionMatrixInverse

WorldViewMatrixInverse

public static final UniformBinding WorldViewMatrixInverse

NormalMatrixInverse

public static final UniformBinding NormalMatrixInverse

WorldViewProjectionMatrixInverse

public static final UniformBinding WorldViewProjectionMatrixInverse

ViewPort

public static final UniformBinding ViewPort
Contains the four viewport parameters in this order: X = Left, Y = Top, Z = Right, W = Bottom. Type: vec4


FrustumNearFar

public static final UniformBinding FrustumNearFar
The near and far values for the camera frustum. X = Near Y = Far. Type: vec2


Resolution

public static final UniformBinding Resolution
The width and height of the camera. Type: vec2


Aspect

public static final UniformBinding Aspect
Aspect ratio of the resolution currently set. Width/Height. Type: float


CameraPosition

public static final UniformBinding CameraPosition
Camera position in world space. Type: vec3


CameraDirection

public static final UniformBinding CameraDirection
Direction of the camera. Type: vec3


CameraLeft

public static final UniformBinding CameraLeft
Left vector of the camera. Type: vec3


CameraUp

public static final UniformBinding CameraUp
Up vector of the camera. Type: vec3


Time

public static final UniformBinding Time
Time in seconds since the application was started. Type: float


Tpf

public static final UniformBinding Tpf
Time in seconds that the last frame took. Type: float


FrameRate

public static final UniformBinding FrameRate
Frames per second. Type: float

メソッドの詳細

values

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

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

valueOf

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

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