com.jme3.scene.shape
クラス StripBox

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

public class StripBox
extends AbstractBox

A box with solid (filled) faces.


入れ子のクラスの概要
 
クラス com.jme3.scene.Mesh から継承された入れ子のクラス/インタフェース
Mesh.Mode
 
フィールドの概要
 
クラス com.jme3.scene.shape.AbstractBox から継承されたフィールド
center, xExtent, yExtent, zExtent
 
コンストラクタの概要
StripBox()
          Empty constructor for serialization only.
StripBox(float x, float y, float z)
          Creates a new box.
StripBox(Vector3f center, float x, float y, float z)
          Creates a new box.
StripBox(Vector3f min, Vector3f max)
          Constructor instantiates a new Box object.
 
メソッドの概要
 StripBox clone()
          Creates a clone of this box.
 
クラス com.jme3.scene.shape.AbstractBox から継承されたメソッド
getCenter, getXExtent, getYExtent, getZExtent, read, updateGeometry, updateGeometry, updateGeometry, write
 
クラス com.jme3.scene.Mesh から継承されたメソッド
clearBuffer, 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, 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
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

StripBox

public StripBox(float x,
                float y,
                float z)
Creates a new box.

The box has a center of 0,0,0 and extends in the out from the center by the given amount in each direction. So, for example, a box with extent of 0.5 would be the unit cube.

パラメータ:
name - the name of the box.
x - the size of the box along the x axis, in both directions.
y - the size of the box along the y axis, in both directions.
z - the size of the box along the z axis, in both directions.

StripBox

public StripBox(Vector3f center,
                float x,
                float y,
                float z)
Creates a new box.

The box has the given center and extends in the out from the center by the given amount in each direction. So, for example, a box with extent of 0.5 would be the unit cube.

パラメータ:
name - the name of the box.
center - the center of the box.
x - the size of the box along the x axis, in both directions.
y - the size of the box along the y axis, in both directions.
z - the size of the box along the z axis, in both directions.

StripBox

public StripBox(Vector3f min,
                Vector3f max)
Constructor instantiates a new Box object.

The minimum and maximum point are provided, these two points define the shape and size of the box but not it’s orientation or position. You should use the #setLocalTranslation() and #setLocalRotation() methods to define those properties.

パラメータ:
name - the name of the box.
min - the minimum point that defines the box.
max - the maximum point that defines the box.

StripBox

public StripBox()
Empty constructor for serialization only. Do not use.

メソッドの詳細

clone

public StripBox clone()
Creates a clone of this box.

The cloned box will have ‘_clone’ appended to it’s name, but all other properties will be the same as this box.

オーバーライド:
クラス Mesh 内の clone
戻り値:
A shallow clone of the mesh