com.jme3.terrain.geomipmap
クラス NormalRecalcControl

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

public class NormalRecalcControl
extends AbstractControl

Handles the normal vector updates when the terrain changes heights.


コンストラクタの概要
NormalRecalcControl()
           
NormalRecalcControl(TerrainQuad terrain)
           
 
メソッドの概要
 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.
 TerrainQuad getTerrain()
           
 void read(JmeImporter im)
           
 void setSpatial(Spatial spatial)
           
 void setTerrain(TerrainQuad terrain)
           
 void write(JmeExporter ex)
           
 
クラス com.jme3.scene.control.AbstractControl から継承されたメソッド
getSpatial, isEnabled, render, setEnabled, update
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

NormalRecalcControl

public NormalRecalcControl()

NormalRecalcControl

public NormalRecalcControl(TerrainQuad terrain)
メソッドの詳細

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

setSpatial

public void setSpatial(Spatial spatial)
定義:
インタフェース Control 内の setSpatial
オーバーライド:
クラス AbstractControl 内の setSpatial
パラメータ:
spatial - the spatial to be controlled. This should not be called from user code.

getTerrain

public TerrainQuad getTerrain()

setTerrain

public void setTerrain(TerrainQuad terrain)

write

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

read

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