|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.scene.Mesh
com.jme3.scene.shape.Dome
public class Dome
A hemisphere.
入れ子のクラスの概要 |
---|
クラス com.jme3.scene.Mesh から継承された入れ子のクラス/インタフェース |
---|
Mesh.Mode |
コンストラクタの概要 | |
---|---|
Dome()
Serialization only. |
|
Dome(int planes,
int radialSamples,
float radius)
Constructs a dome with center at the origin. |
|
Dome(Vector3f center,
int planes,
int radialSamples,
float radius)
Constructs a dome. |
|
Dome(Vector3f center,
int planes,
int radialSamples,
float radius,
boolean outsideView)
Constructs a dome. |
メソッドの概要 | |
---|---|
Vector3f |
getCenter()
|
int |
getPlanes()
Get the number of planar segments along the z-axis of the dome. |
int |
getRadialSamples()
Get the number of samples radially around the main axis of the dome. |
float |
getRadius()
Get the radius of the dome. |
boolean |
isOutsideView()
Are the triangles connected in such a way as to present a view out from the dome or not. |
void |
read(JmeImporter e)
|
void |
updateGeometry(Vector3f center,
int planes,
int radialSamples,
float radius,
boolean outsideView)
Rebuilds the dome with a new set of parameters. |
void |
write(JmeExporter e)
|
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public Dome()
public Dome(int planes, int radialSamples, float radius)
name
- Name of dome.planes
- The number of planes along the Z-axis.radialSamples
- The samples along the radial.radius
- Radius of the dome.#Dome(java.lang.String, com.jme.math.Vector3f, int, int, float)
public Dome(Vector3f center, int planes, int radialSamples, float radius)
name
- Name of the dome.center
- Center of the dome.planes
- The number of planes along the Z-axis.radialSamples
- The number of samples along the radial.radius
- The radius of the dome.public Dome(Vector3f center, int planes, int radialSamples, float radius, boolean outsideView)
center
- Center of the dome.planes
- The number of planes along the Z-axis.radialSamples
- The number of samples along the radial.radius
- The radius of the dome.outsideView
- If true, the triangles will be connected for a view outside of
the dome.メソッドの詳細 |
---|
public Vector3f getCenter()
public int getPlanes()
public int getRadialSamples()
public float getRadius()
public boolean isOutsideView()
public void updateGeometry(Vector3f center, int planes, int radialSamples, float radius, boolean outsideView)
center
- the new center of the dome.planes
- the number of planes along the Z-axis.radialSamples
- the new number of radial samples of the dome.radius
- the new radius of the dome.outsideView
- should the dome be set up to be viewed from the inside looking out.public void read(JmeImporter e) throws java.io.IOException
Savable
内の read
Mesh
内の read
java.io.IOException
public void write(JmeExporter e) throws java.io.IOException
Savable
内の write
Mesh
内の write
java.io.IOException
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |