com.jme3.scene.shape
クラス Quad

java.lang.Object
  上位を拡張 com.jme3.scene.Mesh
      上位を拡張 com.jme3.scene.shape.Quad
すべての実装されたインタフェース:
Savable, java.lang.Cloneable

public class Quad
extends Mesh

Quad represents a rectangular plane in space defined by 4 vertices. The quad's lower-left side is contained at the local space origin (0, 0, 0), while the upper-right side is located at the width/height coordinates (width, height, 0).


入れ子のクラスの概要
 
クラス com.jme3.scene.Mesh から継承された入れ子のクラス/インタフェース
Mesh.Mode
 
コンストラクタの概要
Quad()
          Serialization only.
Quad(float width, float height)
          Create a quad with the given width and height.
Quad(float width, float height, boolean flipCoords)
          Create a quad with the given width and height.
 
メソッドの概要
 float getHeight()
           
 float getWidth()
           
 void updateGeometry(float width, float height)
           
 void updateGeometry(float width, float height, boolean flipCoords)
           
 
クラス com.jme3.scene.Mesh から継承されたメソッド
clearBuffer, clone, cloneForAnim, collideWith, createCollisionData, deepClone, generateBindPose, getBound, getBuffer, getBufferList, getBuffers, getElementLengths, getFloatBuffer, getId, getIndexBuffer, getIndicesAsList, getLineWidth, getLodLevel, getMaxNumWeights, getMode, getModeStart, getNumLodLevels, getPointSize, getShortBuffer, getTriangle, getTriangle, getTriangle, getTriangleCount, getTriangleCount, getVertexCount, prepareForAnim, read, scaleTextureCoordinates, setBound, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setDynamic, setElementLengths, setId, setInterleaved, setLineWidth, setLodLevels, setMaxNumWeights, setMode, setModeStart, setPointSize, setStatic, setStreamed, updateBound, updateCounts, write
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Quad

public Quad()
Serialization only. Do not use.


Quad

public Quad(float width,
            float height)
Create a quad with the given width and height. The quad is always created in the XY plane.

パラメータ:
width - The X extent or width
height - The Y extent or width

Quad

public Quad(float width,
            float height,
            boolean flipCoords)
Create a quad with the given width and height. The quad is always created in the XY plane.

パラメータ:
width - The X extent or width
height - The Y extent or width
flipCoords - If true, the texture coordinates will be flipped along the Y axis.
メソッドの詳細

getHeight

public float getHeight()

getWidth

public float getWidth()

updateGeometry

public void updateGeometry(float width,
                           float height)

updateGeometry

public void updateGeometry(float width,
                           float height,
                           boolean flipCoords)