com.jme3.texture
クラス TextureCubeMap

java.lang.Object
  上位を拡張 com.jme3.texture.Texture
      上位を拡張 com.jme3.texture.TextureCubeMap
すべての実装されたインタフェース:
Asset, Savable, java.lang.Cloneable

public class TextureCubeMap
extends Texture

Describes a cubemap texture. The image specified by setImage must contain 6 data units, each data contains a 2D image representing a cube's face. The slices are specified in this order:

0 => Positive X (+x)
1 => Negative X (-x)
2 => Positive Y (+y)
3 => Negative Y (-y)
4 => Positive Z (+z)
5 => Negative Z (-z)


入れ子のクラスの概要
 
クラス com.jme3.texture.Texture から継承された入れ子のクラス/インタフェース
Texture.MagFilter, Texture.MinFilter, Texture.ShadowCompareMode, Texture.Type, Texture.WrapAxis, Texture.WrapMode
 
コンストラクタの概要
TextureCubeMap()
          Face of the Cubemap as described by its directional offset from the origin.
TextureCubeMap(Image img)
           
 
メソッドの概要
 Texture createSimpleClone()
           
 Texture createSimpleClone(Texture rVal)
          Retreive a basic clone of this Texture (ie, clone everything but the image data, which is shared)
 boolean equals(java.lang.Object other)
           
 Texture.Type getType()
           
 Texture.WrapMode getWrap(Texture.WrapAxis axis)
          getWrap returns the wrap mode for a given coordinate axis on this texture.
 int hashCode()
           
 void read(JmeImporter e)
           
 void setWrap(Texture.WrapAxis axis, Texture.WrapMode mode)
          setWrap sets the wrap mode of this texture for a particular axis.
 void setWrap(Texture.WrapMode mode)
          setWrap sets the wrap mode of this texture for all axis.
 void write(JmeExporter e)
           
 
クラス com.jme3.texture.Texture から継承されたメソッド
clone, getAnisotropicFilter, getImage, getKey, getMagFilter, getMinFilter, getName, getShadowCompareMode, setAnisotropicFilter, setImage, setKey, setMagFilter, setMinFilter, setName, setShadowCompareMode, toString
 
クラス java.lang.Object から継承されたメソッド
getClass, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

TextureCubeMap

public TextureCubeMap()
Face of the Cubemap as described by its directional offset from the origin.


TextureCubeMap

public TextureCubeMap(Image img)
メソッドの詳細

createSimpleClone

public Texture createSimpleClone()
定義:
クラス Texture 内の createSimpleClone

createSimpleClone

public Texture createSimpleClone(Texture rVal)
クラス Texture の記述:
Retreive a basic clone of this Texture (ie, clone everything but the image data, which is shared)

オーバーライド:
クラス Texture 内の createSimpleClone
戻り値:
Texture

setWrap

public void setWrap(Texture.WrapAxis axis,
                    Texture.WrapMode mode)
setWrap sets the wrap mode of this texture for a particular axis.

定義:
クラス Texture 内の setWrap
パラメータ:
axis - the texture axis to define a wrapmode on.
mode - the wrap mode for the given axis of the texture.
例外:
java.lang.IllegalArgumentException - if axis or mode are null

setWrap

public void setWrap(Texture.WrapMode mode)
setWrap sets the wrap mode of this texture for all axis.

定義:
クラス Texture 内の setWrap
パラメータ:
mode - the wrap mode for the given axis of the texture.
例外:
java.lang.IllegalArgumentException - if mode is null

getWrap

public Texture.WrapMode getWrap(Texture.WrapAxis axis)
getWrap returns the wrap mode for a given coordinate axis on this texture.

定義:
クラス Texture 内の getWrap
パラメータ:
axis - the axis to return for
戻り値:
the wrap mode of the texture.
例外:
java.lang.IllegalArgumentException - if axis is null

getType

public Texture.Type getType()
定義:
クラス Texture 内の getType

equals

public boolean equals(java.lang.Object other)
オーバーライド:
クラス Texture 内の equals

hashCode

public int hashCode()
オーバーライド:
クラス Texture 内の hashCode

write

public void write(JmeExporter e)
           throws java.io.IOException
定義:
インタフェース Savable 内の write
オーバーライド:
クラス Texture 内の write
例外:
java.io.IOException

read

public void read(JmeImporter e)
          throws java.io.IOException
定義:
インタフェース Savable 内の read
オーバーライド:
クラス Texture 内の read
例外:
java.io.IOException