|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.shadow.BasicShadowRenderer
public class BasicShadowRenderer
BasicShadowRenderer uses standard shadow mapping with one map it's useful to render shadows in a small scene, but edges might look a bit jagged.
コンストラクタの概要 | |
---|---|
BasicShadowRenderer(AssetManager manager,
int size)
Creates a BasicShadowRenderer |
メソッドの概要 | |
---|---|
void |
cleanup()
Called when the SP is removed from the RM. |
Vector3f |
getDirection()
returns the light direction used for this processor |
Picture |
getDisplayPicture()
debug only |
Vector3f[] |
getPoints()
debug only |
Camera |
getShadowCamera()
debug only returns the shadow camera |
void |
initialize(RenderManager rm,
ViewPort vp)
Called in the render thread to initialize the scene processor. |
boolean |
isInitialized()
|
void |
postFrame(FrameBuffer out)
Called after a frame has been rendered and the queue flushed. |
void |
postQueue(RenderQueue rq)
Called after the scene graph has been queued, but before it is flushed. |
void |
preFrame(float tpf)
Called before a frame |
void |
reshape(ViewPort vp,
int w,
int h)
Called when the resolution of the viewport has been changed. |
void |
setDirection(Vector3f direction)
sets the light direction to use to computs shadows |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public BasicShadowRenderer(AssetManager manager, int size)
manager
- the asset managersize
- the size of the shadow map (the map is square)メソッドの詳細 |
---|
public void initialize(RenderManager rm, ViewPort vp)
SceneProcessor
の記述:
SceneProcessor
内の initialize
rm
- The render manager to which the SP was added tovp
- The viewport to which the SP is assignedpublic boolean isInitialized()
SceneProcessor
内の isInitialized
public Vector3f getDirection()
public void setDirection(Vector3f direction)
direction
- public Vector3f[] getPoints()
public Camera getShadowCamera()
public void postQueue(RenderQueue rq)
SceneProcessor
の記述:
SceneProcessor
内の postQueue
rq
- The render queuepublic Picture getDisplayPicture()
public void postFrame(FrameBuffer out)
SceneProcessor
の記述:
SceneProcessor
内の postFrame
out
- The FB to which the scene was rendered.public void preFrame(float tpf)
SceneProcessor
の記述:
SceneProcessor
内の preFrame
tpf
- Time per framepublic void cleanup()
SceneProcessor
の記述:
SceneProcessor
内の cleanup
public void reshape(ViewPort vp, int w, int h)
SceneProcessor
の記述:
SceneProcessor
内の reshape
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |