|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.water.ReflectionProcessor
public class ReflectionProcessor
Reflection Processor Used to render the reflected scene in an off view port
コンストラクタの概要 | |
---|---|
ReflectionProcessor(Camera reflectionCam,
FrameBuffer reflectionBuffer,
Plane reflectionClipPlane)
Creates a ReflectionProcessor |
メソッドの概要 | |
---|---|
void |
cleanup()
Called when the SP is removed from the RM. |
FrameBuffer |
getReflectionBuffer()
Internal use only returns the frame buffer |
Camera |
getReflectionCam()
returns the reflection cam |
Plane |
getReflectionClipPlane()
returns the reflection clip plane |
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 |
setReflectionBuffer(FrameBuffer reflectionBuffer)
Internal use only sets the frame buffer |
void |
setReflectionCam(Camera reflectionCam)
sets the reflection cam |
void |
setReflectionClipPlane(Plane reflectionClipPlane)
Sets the reflection clip plane |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public ReflectionProcessor(Camera reflectionCam, FrameBuffer reflectionBuffer, Plane reflectionClipPlane)
reflectionCam
- the cam to use for reflectionreflectionBuffer
- the FrameBuffer to render toreflectionClipPlane
- the clipping planeメソッドの詳細 |
---|
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 void reshape(ViewPort vp, int w, int h)
SceneProcessor
の記述:
SceneProcessor
内の reshape
public boolean isInitialized()
SceneProcessor
内の isInitialized
public void preFrame(float tpf)
SceneProcessor
の記述:
SceneProcessor
内の preFrame
tpf
- Time per framepublic void postQueue(RenderQueue rq)
SceneProcessor
の記述:
SceneProcessor
内の postQueue
rq
- The render queuepublic void postFrame(FrameBuffer out)
SceneProcessor
の記述:
SceneProcessor
内の postFrame
out
- The FB to which the scene was rendered.public void cleanup()
SceneProcessor
の記述:
SceneProcessor
内の cleanup
public FrameBuffer getReflectionBuffer()
public void setReflectionBuffer(FrameBuffer reflectionBuffer)
reflectionBuffer
- public Camera getReflectionCam()
public void setReflectionCam(Camera reflectionCam)
reflectionCam
- public Plane getReflectionClipPlane()
public void setReflectionClipPlane(Plane reflectionClipPlane)
reflectionClipPlane
-
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |