|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.scene.Mesh
com.jme3.scene.shape.Sphere
public class Sphere
Sphere
represents a 3D object with all points equidistance
from a center point.
入れ子のクラスの概要 | |
---|---|
static class |
Sphere.TextureMode
|
クラス com.jme3.scene.Mesh から継承された入れ子のクラス/インタフェース |
---|
Mesh.Mode |
フィールドの概要 | |
---|---|
float |
radius
the distance from the center point each point falls on |
コンストラクタの概要 | |
---|---|
Sphere()
Serialization only. |
|
Sphere(int zSamples,
int radialSamples,
float radius)
Constructs a sphere. |
|
Sphere(int zSamples,
int radialSamples,
float radius,
boolean useEvenSlices,
boolean interior)
Constructs a sphere. |
メソッドの概要 | |
---|---|
int |
getRadialSamples()
|
float |
getRadius()
|
Sphere.TextureMode |
getTextureMode()
|
int |
getZSamples()
|
void |
read(JmeImporter e)
|
void |
setTextureMode(Sphere.TextureMode textureMode)
|
void |
updateGeometry(int zSamples,
int radialSamples,
float radius)
Changes the information of the sphere into the given values. |
void |
updateGeometry(int zSamples,
int radialSamples,
float radius,
boolean useEvenSlices,
boolean interior)
|
void |
write(JmeExporter e)
|
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public float radius
コンストラクタの詳細 |
---|
public Sphere()
public Sphere(int zSamples, int radialSamples, float radius)
zSamples
- The number of samples along the Z.radialSamples
- The number of samples along the radial.radius
- The radius of the sphere.public Sphere(int zSamples, int radialSamples, float radius, boolean useEvenSlices, boolean interior)
zSamples
- The number of samples along the Z.radialSamples
- The number of samples along the radial.radius
- The radius of the sphere.useEvenSlices
- Slice sphere evenly along the Z axisinterior
- Not yet documentedメソッドの詳細 |
---|
public int getRadialSamples()
public float getRadius()
public Sphere.TextureMode getTextureMode()
public int getZSamples()
public void setTextureMode(Sphere.TextureMode textureMode)
textureMode
- The textureMode to set.public void updateGeometry(int zSamples, int radialSamples, float radius)
zSamples
- the number of zSamples of the sphere.radialSamples
- the number of radial samples of the sphere.radius
- the radius of the sphere.public void updateGeometry(int zSamples, int radialSamples, float radius, boolean useEvenSlices, boolean interior)
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
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |