com.jme3.shader
クラス Uniform
java.lang.Object
com.jme3.shader.ShaderVariable
com.jme3.shader.Uniform
- すべての実装されたインタフェース:
- Savable
public class Uniform
- extends ShaderVariable
クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Uniform
public Uniform()
write
public void write(JmeExporter ex)
throws java.io.IOException
- 定義:
- インタフェース
Savable
内の write
- オーバーライド:
- クラス
ShaderVariable
内の write
- 例外:
java.io.IOException
read
public void read(JmeImporter im)
throws java.io.IOException
- 定義:
- インタフェース
Savable
内の read
- オーバーライド:
- クラス
ShaderVariable
内の read
- 例外:
java.io.IOException
toString
public java.lang.String toString()
- オーバーライド:
- クラス
java.lang.Object
内の toString
setBinding
public void setBinding(UniformBinding binding)
getBinding
public UniformBinding getBinding()
getVarType
public VarType getVarType()
getValue
public java.lang.Object getValue()
isSetByCurrentMaterial
public boolean isSetByCurrentMaterial()
clearSetByCurrentMaterial
public void clearSetByCurrentMaterial()
clearValue
public void clearValue()
setValue
public void setValue(VarType type,
java.lang.Object value)
setVector4Length
public void setVector4Length(int length)
setVector4InArray
public void setVector4InArray(float x,
float y,
float z,
float w,
int index)
isUpdateNeeded
public boolean isUpdateNeeded()
clearUpdateNeeded
public void clearUpdateNeeded()
reset
public void reset()