com.jme3.renderer.queue
クラス GuiComparator

java.lang.Object
  上位を拡張 com.jme3.renderer.queue.GuiComparator
すべての実装されたインタフェース:
GeometryComparator, java.util.Comparator<Geometry>

public class GuiComparator
extends java.lang.Object
implements GeometryComparator

GuiComparator sorts geometries back-to-front based on their Z position.


コンストラクタの概要
GuiComparator()
           
 
メソッドの概要
 int compare(Geometry o1, Geometry o2)
           
 void setCamera(Camera cam)
          Set the camera to use for sorting.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース java.util.Comparator から継承されたメソッド
equals
 

コンストラクタの詳細

GuiComparator

public GuiComparator()
メソッドの詳細

compare

public int compare(Geometry o1,
                   Geometry o2)
定義:
インタフェース java.util.Comparator<Geometry> 内の compare

setCamera

public void setCamera(Camera cam)
インタフェース GeometryComparator の記述:
Set the camera to use for sorting.

定義:
インタフェース GeometryComparator 内の setCamera
パラメータ:
cam - The camera to use for sorting