|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jme.scene.Spatial
com.jme.scene.Geometry
com.jme.scene.TriMesh
com.jme.scene.shape.Quad
com.jme.effects.FlareQuad
FlareQuad represents a single light reflection in a LensFlare
object.
| Field Summary |
| Fields inherited from class com.jme.scene.TriMesh |
indices, triangleQuantity |
| Fields inherited from class com.jme.scene.Geometry |
bound, color, colorBuf, normal, normBuf, texBuf, texture, vertBuf, vertex, vertQuantity |
| Fields inherited from class com.jme.scene.Spatial |
currentStates, defaultStateList, forceCull, forceView, frustrumIntersects, geometricalControllers, lightCombineMode, localRotation, localScale, localTranslation, name, parent, queueDistance, renderQueueMode, renderStateList, textureCombineMode, worldBound, worldRotation, worldScale, worldTranslation, zOrder |
| Constructor Summary | |
FlareQuad(java.lang.String name,
float width,
float height)
Creates a new Quad to act as a single lens flare reflection in a LensFlare. |
|
| Method Summary | |
void |
setOffset(float amountX,
float amountY)
Set the offset of this FlareQuad from the center point of the screen using a ratio where 1.0f (100%) = the position of the light source (or screen position of the worldTranslation of the LensFlare.) A negative value for x or y flips it across the axis from the light position. |
void |
updatePosition(Vector3f flarePoint,
Vector2f midPoint)
Updates worldTranslation of this FlareQuad. |
| Methods inherited from class com.jme.scene.shape.Quad |
getCenter, initialize, resize |
| Methods inherited from class com.jme.scene.TriMesh |
clearBuffers, draw, drawBounds, findCollisions, findTriangleCollision, findTrianglePick, findWorldRotMat, getIndexAsBuffer, getIndices, getMeshAsTriangles, getTriangle, getTriangle, getTriangleQuantity, hasCollision, hasTriangleCollision, putClone, reconstruct, setIndexBuffer, setIndices, updateCollisionTree, updateIndexBuffer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FlareQuad(java.lang.String name,
float width,
float height)
name - Stringwidth - floatheight - float| Method Detail |
public void setOffset(float amountX,
float amountY)
amountX - floatamountY - float
public void updatePosition(Vector3f flarePoint,
Vector2f midPoint)
flarePoint - Vector3fmidPoint - Vector2f
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||