|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This object can be used to initialize a camera object to a certain state.
It has the following properties:
Method Summary | |
void |
clearFarPlane()
Clear the far plane so no clipping will occur. |
iCameraPosition |
Clone()
Create a clone this camera position. |
csPlane3 |
getFarPlane()
Get the current far plane (or 0 if none is defined). |
csVector3 |
getForwardVector()
Return the 'front' vector. |
csVector3 |
getPosition()
Return the position. |
java.lang.String |
getSector()
Return the home sector. |
csVector3 |
getUpwardVector()
Return the 'up' vector. |
boolean |
load(iCamera cam,
iEngine e)
Load the camera position into a camera object. |
iObject |
queryObject()
Get the iObject for this camera position. |
void |
set(java.lang.String sector,
csVector3 pos,
csVector3 forward,
csVector3 upward)
Set all attributes of the camera position. |
void |
setFarPlane(csPlane3 pl)
Set the 3D far plane used to clip all geometry. |
void |
setForwardVector(csVector3 v)
Set the 'front' vector. |
void |
setPosition(csVector3 p)
Set the position. |
void |
setSector(java.lang.String Name)
Set the home sector. |
void |
setUpwardVector(csVector3 v)
Set the 'up' vector. |
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 iObject queryObject()
public iCameraPosition Clone()
public java.lang.String getSector()
public void setSector(java.lang.String Name)
Name
- public csVector3 getPosition()
public void setPosition(csVector3 p)
p
- public csVector3 getUpwardVector()
public void setUpwardVector(csVector3 v)
v
- public csVector3 getForwardVector()
public void setForwardVector(csVector3 v)
v
- public void set(java.lang.String sector, csVector3 pos, csVector3 forward, csVector3 upward)
sector
- pos
- forward
- upward
- public boolean load(iCamera cam, iEngine e)
cam
- e
-
public void setFarPlane(csPlane3 pl)
pl
- public void clearFarPlane()
public csPlane3 getFarPlane()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |