|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.scene.Mesh
com.jme3.scene.shape.Curve
public class Curve
A Curve
is a visual, line-based representation of a Spline
.
The underlying Spline will be sampled N times where N is the number of
segments as specified in the constructor. Each segment will represent
one line in the generated mesh.
入れ子のクラスの概要 |
---|
クラス com.jme3.scene.Mesh から継承された入れ子のクラス/インタフェース |
---|
Mesh.Mode |
コンストラクタの概要 | |
---|---|
Curve()
Serialization only. |
|
Curve(Spline spline,
int nbSubSegments)
Create a curve mesh from a Spline |
|
Curve(Vector3f[] controlPoints,
int nbSubSegments)
Create a curve mesh. |
メソッドの概要 | |
---|---|
float |
getLength()
This method returns the length of the curve. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public Curve()
public Curve(Vector3f[] controlPoints, int nbSubSegments)
controlPoints
- the control points to use to create this curvenbSubSegments
- the number of subsegments between the control pointspublic Curve(Spline spline, int nbSubSegments)
spline
- the spline to usenbSubSegments
- the number of subsegments between the control pointsメソッドの詳細 |
---|
public float getLength()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |