|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A block of shadows represent the shadows that are casted by one iShadowCaster object.
Method Summary | |
void |
addAllShadows(iShadowBlockList source)
Copy all shadow frustums from another shadow block list into this block. |
void |
addRelevantShadows(iShadowBlock source)
Copy all relevant shadow frustums from another shadow block into this block. |
void |
addRelevantShadows(iShadowBlock source,
csTransform trans)
Copy all relevant shadow frustums from another shadow block into this block. |
void |
addRelevantShadows(iShadowBlockList source)
Copy all relevant shadow frustums from another shadow block list into this block. |
csFrustum |
addShadow(csVector3 origin,
iPointer userData,
int num_verts,
csPlane3 backplane)
Add a new frustum and return a reference. |
void |
addUniqueRelevantShadows(iShadowBlockList source)
Add unique shadows. |
void |
deleteShadows()
Dereference all shadows in the list. |
csBox3 |
getBoundingBox()
Get the bounding box of this shadow block. |
csFrustum |
getShadow(int idx)
Get the specified shadow. |
int |
getShadowCount()
Get the number of shadows in this list. |
iShadowIterator |
getShadowIterator()
Get an iterator to iterate over all shadows in this block. |
iShadowIterator |
getShadowIterator(boolean reverse)
Get an iterator to iterate over all shadows in this block. |
void |
transform(csTransform trans)
Apply a transformation to all frustums in this list. |
void |
unlinkShadow(int idx)
Unlink a shadow frustum from the list and dereference it. |
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getName, getRefCount, getVersion, incRef, queryInterface, queryInterfaceSafe |
Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
Method Detail |
public void addAllShadows(iShadowBlockList source)
source
- public void addRelevantShadows(iShadowBlockList source)
source
- public void addRelevantShadows(iShadowBlock source)
source
- public void addRelevantShadows(iShadowBlock source, csTransform trans)
source
- trans
- public csFrustum addShadow(csVector3 origin, iPointer userData, int num_verts, csPlane3 backplane)
origin
- userData
- num_verts
- backplane
-
public void addUniqueRelevantShadows(iShadowBlockList source)
source
- public void deleteShadows()
public csBox3 getBoundingBox()
public csFrustum getShadow(int idx)
idx
-
public int getShadowCount()
public iShadowIterator getShadowIterator()
public iShadowIterator getShadowIterator(boolean reverse)
reverse
-
public void transform(csTransform trans)
trans
- public void unlinkShadow(int idx)
idx
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |