com.jme3.app
クラス StatsView

java.lang.Object
  上位を拡張 com.jme3.scene.Spatial
      上位を拡張 com.jme3.scene.Node
          上位を拡張 com.jme3.app.StatsView
すべての実装されたインタフェース:
Asset, Collidable, Savable, Control, java.lang.Cloneable

public class StatsView
extends Node
implements Control

The StatsView provides a heads-up display (HUD) of various statistics of rendering. The data is retrieved every frame from a Statistics and then displayed on screen.

Usage:
To use the stats view, you need to retrieve the Statistics from the Renderer used by the application. Then, attach the StatsView to the scene graph.

Statistics stats = renderer.getStatistics();
StatsView statsView = new StatsView("MyStats", assetManager, stats);
rootNode.attachChild(statsView);


入れ子のクラスの概要
 
クラス com.jme3.scene.Spatial から継承された入れ子のクラス/インタフェース
Spatial.CullHint
 
フィールドの概要
 
クラス com.jme3.scene.Spatial から継承されたフィールド
queueDistance
 
コンストラクタの概要
StatsView(java.lang.String name, AssetManager manager, Statistics stats)
           
 
メソッドの概要
 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.
 boolean isEnabled()
           
 void render(RenderManager rm, ViewPort vp)
          Should be called prior to queuing the spatial by the RenderManager.
 void setEnabled(boolean enabled)
           
 void setSpatial(Spatial spatial)
           
 void update(float tpf)
          Updates the control.
 
クラス com.jme3.scene.Node から継承されたメソッド
attachChild, attachChildAt, clone, collideWith, deepClone, depthFirstTraversal, descendantMatches, descendantMatches, descendantMatches, detachAllChildren, detachChild, detachChildAt, detachChildNamed, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, read, setLodLevel, setMaterial, setModelBound, swapChildren, updateGeometricState, updateLogicalState, updateModelBound, write
 
クラス com.jme3.scene.Spatial から継承されたメソッド
addControl, addLight, breadthFirstTraversal, center, checkCulling, clone, getControl, getControl, getCullHint, getKey, getLastFrustumIntersection, getLocalCullHint, getLocalLightList, getLocalQueueBucket, getLocalRotation, getLocalScale, getLocalShadowMode, getLocalToWorldMatrix, getLocalTransform, getLocalTranslation, getName, getNumControls, getParent, getQueueBucket, getShadowMode, getUserData, getUserDataKeys, getWorldBound, getWorldLightList, getWorldRotation, getWorldScale, getWorldTransform, getWorldTranslation, hasAncestor, localToWorld, lookAt, matches, move, move, removeControl, removeControl, removeFromParent, removeLight, rotate, rotate, rotateUpTo, runControlRender, scale, scale, setCullHint, setKey, setLastFrustumIntersection, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalScale, setLocalTransform, setLocalTranslation, setLocalTranslation, setName, setQueueBucket, setShadowMode, setUserData, toString, worldToLocal
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
インタフェース com.jme3.export.Savable から継承されたメソッド
read, write
 

コンストラクタの詳細

StatsView

public StatsView(java.lang.String name,
                 AssetManager manager,
                 Statistics stats)
メソッドの詳細

update

public void update(float tpf)
インタフェース Control の記述:
Updates the control. This should not be called from user code.

定義:
インタフェース Control 内の update
パラメータ:
tpf - Time per frame.

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.

定義:
インタフェース Control 内の cloneForSpatial
戻り値:
A clone of this control for the spatial

setSpatial

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

setEnabled

public void setEnabled(boolean enabled)
定義:
インタフェース Control 内の setEnabled
パラメータ:
enabled - Enable or disable the control. If disabled, update() should do nothing.

isEnabled

public boolean isEnabled()
定義:
インタフェース Control 内の isEnabled
戻り値:
True if enabled, false otherwise.
関連項目:
Control.setEnabled(boolean)

render

public void render(RenderManager rm,
                   ViewPort vp)
インタフェース Control の記述:
Should be called prior to queuing the spatial by the RenderManager. This should not be called from user code.

定義:
インタフェース Control 内の render