com.jme3.scene.control
クラス BillboardControl

java.lang.Object
  上位を拡張 com.jme3.scene.control.AbstractControl
      上位を拡張 com.jme3.scene.control.BillboardControl
すべての実装されたインタフェース:
Savable, Control

public class BillboardControl
extends AbstractControl


入れ子のクラスの概要
static class BillboardControl.Alignment
          Determines how the billboard is aligned to the screen/camera.
 
コンストラクタの概要
BillboardControl()
           
 
メソッドの概要
 Control cloneForSpatial(Spatial spatial)
          Creates a clone of the Control, the given Spatial is the cloned version of the spatial to which this control is attached to.
 BillboardControl.Alignment getAlignment()
          Returns the alignment this Billboard is set too.
 void read(JmeImporter e)
           
 void setAlignment(BillboardControl.Alignment alignment)
          Sets the type of rotation this Billboard will have.
 void write(JmeExporter e)
           
 
クラス com.jme3.scene.control.AbstractControl から継承されたメソッド
getSpatial, isEnabled, render, setEnabled, setSpatial, update
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

BillboardControl

public BillboardControl()
メソッドの詳細

cloneForSpatial

public Control cloneForSpatial(Spatial spatial)
インタフェース Control の記述:
Creates a clone of the Control, the given Spatial is the cloned version of the spatial to which this control is attached to.

戻り値:
A clone of this control for the spatial

getAlignment

public BillboardControl.Alignment getAlignment()
Returns the alignment this Billboard is set too.

戻り値:
The alignment of rotation, AxialY, AxialZ, Camera or Screen.

setAlignment

public void setAlignment(BillboardControl.Alignment alignment)
Sets the type of rotation this Billboard will have. The alignment can be Camera, Screen, AxialY, or AxialZ. Invalid alignments will assume no billboard rotation.


write

public void write(JmeExporter e)
           throws java.io.IOException
定義:
インタフェース Savable 内の write
オーバーライド:
クラス AbstractControl 内の write
例外:
java.io.IOException

read

public void read(JmeImporter e)
          throws java.io.IOException
定義:
インタフェース Savable 内の read
オーバーライド:
クラス AbstractControl 内の read
例外:
java.io.IOException