|
||||||||||
| 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.shadow.ShadowVolume
public class ShadowVolume
ShadowVolume
Represents the shadow volume mesh for a light and an occluder model
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.jme.scene.TriMesh |
|---|
TriMesh.Mode |
| Nested classes/interfaces inherited from class com.jme.scene.Spatial |
|---|
Spatial.CullHint, Spatial.LightCombineMode, Spatial.NormalsMode, Spatial.TextureCombineMode |
| Field Summary | |
|---|---|
protected static int |
_ordinal
|
protected Vector3f |
direction
|
protected Light |
light
|
protected Vector3f |
position
|
protected boolean |
update
|
| Fields inherited from class com.jme.scene.TriMesh |
|---|
indexBuffer, mode, triangleQuantity |
| Fields inherited from class com.jme.scene.Geometry |
|---|
binormalBuf, bound, castsShadows, colorBuf, compVect, defaultColor, displayListID, enabled, fogBuf, hasDirtyVertices, normBuf, states, tangentBuf, texBuf, vboInfo, vertBuf, vertQuantity |
| Fields inherited from class com.jme.scene.Spatial |
|---|
collisionBits, cullHint, frustrumIntersects, geometricalControllers, lightCombineMode, localRotation, localScale, localTranslation, LOCKED_BOUNDS, LOCKED_BRANCH, LOCKED_MESH_DATA, LOCKED_NONE, LOCKED_SHADOWS, LOCKED_TRANSFORMS, lockedMode, name, normalsMode, parent, queueDistance, renderQueueMode, renderStateList, textureCombineMode, worldBound, worldRotation, worldScale, worldTranslation, zOrder |
| Constructor Summary | |
|---|---|
ShadowVolume(Light light)
Constructor for ShadowVolume |
|
| Method Summary | |
|---|---|
Vector3f |
getDirection()
|
Light |
getLight()
|
Vector3f |
getPosition()
|
boolean |
isUpdate()
|
void |
setDirection(Vector3f direction)
|
void |
setLight(Light light)
|
void |
setPosition(Vector3f position)
|
void |
setUpdate(boolean update)
|
| Methods inherited from class com.jme.scene.TriMesh |
|---|
clearBuffers, draw, findCollisions, findTriangleCollision, findTrianglePick, getIndexBuffer, getMaxIndex, getMeshAsTriangles, getMeshAsTrianglesVertices, getMode, getTriangle, getTriangle, getTriangleCount, getTriangleIndices, getVertIndex, hasCollision, hasTriangleCollision, hasTriangleCollision, randomPointOnTriangles, read, recalcTriangleQuantity, reconstruct, setIndexBuffer, setMode, setTriangleQuantity, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.jme.util.export.Savable |
|---|
getClassTag |
| Field Detail |
|---|
protected Light light
protected Vector3f position
protected Vector3f direction
protected boolean update
protected static int _ordinal
| Constructor Detail |
|---|
public ShadowVolume(Light light)
ShadowVolume
light - the light for which a volume should be created| Method Detail |
|---|
public Vector3f getDirection()
public void setDirection(Vector3f direction)
direction - The direction to set.public Vector3f getPosition()
public void setPosition(Vector3f position)
position - The position to set.public boolean isUpdate()
public void setUpdate(boolean update)
update - sets whether this volume needs updating.public Light getLight()
public void setLight(Light light)
light - The light to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||