|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectcom.jme3.renderer.queue.GeometryList
public class GeometryList
This class is a special purpose list of Geometry objects for render
queuing.
| コンストラクタの概要 | |
|---|---|
GeometryList(GeometryComparator comparator)
Initializes the GeometryList to use the given GeometryComparator
to use for comparing geometries. |
|
| メソッドの概要 | |
|---|---|
void |
add(Geometry g)
Adds a geometry to the list. |
void |
clear()
Resets list size to 0. |
Geometry |
get(int index)
Returns the element at the given index. |
void |
setCamera(Camera cam)
Set the camera that will be set on the geometry comparators via GeometryComparator.setCamera(com.jme3.renderer.Camera). |
int |
size()
Returns the number of elements in this GeometryList. |
void |
sort()
Sorts the elements in the list according to their Comparator. |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public GeometryList(GeometryComparator comparator)
GeometryComparator
to use for comparing geometries.
comparator - The comparator to use.| メソッドの詳細 |
|---|
public void setCamera(Camera cam)
GeometryComparator.setCamera(com.jme3.renderer.Camera).
cam - Camera to use for sorting.public int size()
public Geometry get(int index)
index - The index to lookup
public void add(Geometry g)
g - The geometry to add.public void clear()
public void sort()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||