|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectcom.jme3.light.LightList
public final class LightList
LightList is used internally by Spatials to manage
lights that are attached to them.
| コンストラクタの概要 | |
|---|---|
LightList()
Default constructor for serialization. |
|
LightList(Spatial owner)
Creates a LightList for the given Spatial. |
|
| メソッドの概要 | |
|---|---|
void |
add(Light l)
Adds a light to the list. |
void |
clear()
Resets list size to 0. |
LightList |
clone()
|
Light |
get(int num)
|
java.util.Iterator<Light> |
iterator()
Returns an iterator that can be used to iterate over this LightList. |
void |
read(JmeImporter im)
|
void |
remove(int index)
Remove the light at the given index. |
void |
remove(Light l)
Removes the given light from the LightList. |
void |
setOwner(Spatial owner)
Set the owner of the LightList. |
int |
size()
|
void |
sort(boolean transformChanged)
Sorts the elements in the list acording to their Comparator. |
void |
update(LightList local,
LightList parent)
Updates a "world-space" light list, using the spatial's local-space light list and its parent's world-space light list. |
void |
write(JmeExporter ex)
|
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public LightList()
public LightList(Spatial owner)
LightList for the given Spatial.
owner - The spatial owner| メソッドの詳細 |
|---|
public void setOwner(Spatial owner)
owner - public void add(Light l)
l - The light to add.public void remove(int index)
index - public void remove(Light l)
l - the light to removepublic int size()
public Light get(int num)
java.lang.IndexOutOfBoundsException - If the given index is outside bounds.public void clear()
public void sort(boolean transformChanged)
transformChanged - Whether the spatial's transform has changed
public void update(LightList local,
LightList parent)
local - parent - public java.util.Iterator<Light> iterator()
java.lang.Iterable<Light> 内の iteratorpublic LightList clone()
java.lang.Object 内の clone
public void write(JmeExporter ex)
throws java.io.IOException
Savable 内の writejava.io.IOException
public void read(JmeImporter im)
throws java.io.IOException
Savable 内の readjava.io.IOException
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||