|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcrystalspace.jbind.impl.csNativeObject
crystalspace.jbind.impl.csutil.scf.csBase
crystalspace.jbind.impl.engine.shadows.csShadowBlock
Field Summary |
Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
Constructor Summary | |
csShadowBlock(iPointer nPointer)
|
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. |
java.lang.String |
getName()
Return the name of the interface |
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. |
int |
getVersion()
Return the version of the interface |
protected boolean |
isNativePointerValidSafe(long pointer)
|
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 class crystalspace.jbind.impl.csutil.scf.csBase |
decRef, equals, finalize, getRefCount, incRef, nDelete, queryInterface, queryInterfaceSafe |
Methods inherited from class crystalspace.jbind.impl.csNativeObject |
changePointer, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, newNativeObject, setMemoryOwner, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getRefCount, incRef, queryInterface, queryInterfaceSafe |
Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
Constructor Detail |
public csShadowBlock(iPointer nPointer)
nPointer
- Method Detail |
public int getVersion()
iBase
getVersion
in interface iBase
getVersion
in class csBase
iBase.getVersion()
public java.lang.String getName()
iBase
getName
in interface iBase
getName
in class csBase
iBase.getName()
protected boolean isNativePointerValidSafe(long pointer)
isNativePointerValidSafe
in class csNativeObject
csNativeObject.isNativePointerValidSafe(long)
public void addAllShadows(iShadowBlockList source)
iShadowBlock
addAllShadows
in interface iShadowBlock
source
- iShadowBlock.addAllShadows(crystalspace.jbind.interfaces.iengine.shadows.iShadowBlockList)
public void addRelevantShadows(iShadowBlockList source)
iShadowBlock
addRelevantShadows
in interface iShadowBlock
source
- iShadowBlock.addRelevantShadows(crystalspace.jbind.interfaces.iengine.shadows.iShadowBlockList)
public void addRelevantShadows(iShadowBlock source)
iShadowBlock
addRelevantShadows
in interface iShadowBlock
source
- iShadowBlock.addRelevantShadows(crystalspace.jbind.interfaces.iengine.shadows.iShadowBlock)
public void addRelevantShadows(iShadowBlock source, csTransform trans)
iShadowBlock
addRelevantShadows
in interface iShadowBlock
source
- trans
- iShadowBlock.addRelevantShadows(crystalspace.jbind.interfaces.iengine.shadows.iShadowBlock, crystalspace.jbind.impl.csgeom.transfrm.csTransform)
public csFrustum addShadow(csVector3 origin, iPointer userData, int num_verts, csPlane3 backplane)
iShadowBlock
addShadow
in interface iShadowBlock
origin
- userData
- num_verts
- backplane
-
iShadowBlock.addShadow(crystalspace.jbind.impl.csgeom.vector3.csVector3, crystalspace.jbind.interfaces.iPointer, int, crystalspace.jbind.impl.csgeom.plane3.csPlane3)
public void addUniqueRelevantShadows(iShadowBlockList source)
iShadowBlock
addUniqueRelevantShadows
in interface iShadowBlock
source
- iShadowBlock.addUniqueRelevantShadows(crystalspace.jbind.interfaces.iengine.shadows.iShadowBlockList)
public void deleteShadows()
iShadowBlock
deleteShadows
in interface iShadowBlock
iShadowBlock.deleteShadows()
public csBox3 getBoundingBox()
iShadowBlock
getBoundingBox
in interface iShadowBlock
iShadowBlock.getBoundingBox()
public csFrustum getShadow(int idx)
iShadowBlock
getShadow
in interface iShadowBlock
idx
-
iShadowBlock.getShadow(int)
public int getShadowCount()
iShadowBlock
getShadowCount
in interface iShadowBlock
iShadowBlock.getShadowCount()
public iShadowIterator getShadowIterator()
iShadowBlock
getShadowIterator
in interface iShadowBlock
iShadowBlock.getShadowIterator()
public iShadowIterator getShadowIterator(boolean reverse)
iShadowBlock
getShadowIterator
in interface iShadowBlock
reverse
-
iShadowBlock.getShadowIterator(boolean)
public void transform(csTransform trans)
iShadowBlock
transform
in interface iShadowBlock
trans
- iShadowBlock.transform(crystalspace.jbind.impl.csgeom.transfrm.csTransform)
public void unlinkShadow(int idx)
iShadowBlock
unlinkShadow
in interface iShadowBlock
idx
- iShadowBlock.unlinkShadow(int)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |