Public Member Functions | |
cBeam (const tString asName, cResources *apResources, cGraphics *apGraphics) | |
void | SetMaterial (iMaterial *apMaterial) |
const tString & | GetFileName () |
void | SetSize (const cVector2f &avSize) |
cVector2f | GetSize () |
void | SetColor (const cColor &aColor) |
const cColor & | GetColor () |
void | SetTileHeight (bool abX) |
bool | GetTileHeight () |
void | SetMultiplyAlphaWithColor (bool abX) |
bool | GetMultiplyAlphaWithColor () |
cBeamEnd * | GetEnd () |
bool | LoadXMLProperties (const tString asFile) |
cVector3f | GetAxis () |
cVector3f | GetMidPosition () |
tString | GetEntityType () |
bool | IsVisible () |
void | SetVisible (bool abVisible) |
iMaterial * | GetMaterial () |
iVertexBuffer * | GetVertexBuffer () |
void | UpdateGraphics (cCamera3D *apCamera, float afFrameTime, cRenderList *apRenderList) |
bool | IsShadowCaster () |
cBoundingVolume * | GetBoundingVolume () |
cMatrixf * | GetModelMatrix (cCamera3D *apCamera) |
int | GetMatrixUpdateCount () |
eRenderableType | GetRenderType () |
Public Member Functions inherited from hpl::iRenderable | |
iRenderable (const tString &asName) | |
bool | IsRendered () |
virtual void | SetRendered (bool abX) |
virtual bool | CollidesWithBV (cBoundingVolume *apBV) |
virtual bool | CollidesWithFrustum (cFrustum *apFrustum) |
float | GetZ () |
void | SetZ (float afZ) |
cMatrixf * | GetInvModelMatrix () |
void | SetPrevMatrix (const cMatrixf &a_mtxPrev) |
cMatrixf & | GetPrevMatrix () |
const cVector3f & | GetCalcScale () |
void | SetStatic (bool abX) |
bool | IsStatic () const |
int | GetRenderCount () const |
void | SetRenderCount (const int alCount) |
int | GetPrevRenderCount () const |
void | SetPrevRenderCount (const int alCount) |
void | SetForceShadow (bool abX) |
bool | GetForceShadow () |
bool | GetIsOneSided () |
const cVector3f & | GetOneSidedNormal () |
virtual iSaveData * | CreateSaveData () |
virtual void | SaveToSaveData (iSaveData *apSaveData) |
virtual void | LoadFromSaveData (iSaveData *apSaveData) |
virtual void | SaveDataSetup (cSaveObjectHandler *apSaveObjectHandler, cGame *apGame) |
Public Member Functions inherited from hpl::iEntity3D | |
iEntity3D (tString asName) | |
cVector3f | GetLocalPosition () |
cMatrixf & | GetLocalMatrix () |
cVector3f | GetWorldPosition () |
cMatrixf & | GetWorldMatrix () |
void | SetPosition (const cVector3f &avPos) |
void | SetMatrix (const cMatrixf &a_mtxTransform) |
void | SetWorldPosition (const cVector3f &avWorldPos) |
void | SetWorldMatrix (const cMatrixf &a_mtxWorldTransform) |
void | SetTransformUpdated (bool abUpdateCallbacks=true) |
bool | GetTransformUpdated () |
int | GetTransformUpdateCount () |
void | AddCallback (iEntityCallback *apCallback) |
void | RemoveCallback (iEntityCallback *apCallback) |
void | SetSourceFile (const tString &asFile) |
const tString & | GetSourceFile () |
void | AddChild (iEntity3D *apEntity) |
void | RemoveChild (iEntity3D *apEntity) |
bool | IsChild (iEntity3D *apEntity) |
iEntity3D * | GetEntityParent () |
virtual tRenderContainerDataList * | GetRenderContainerDataList () |
int | GetIteratorCount () |
void | SetIteratorCount (const int alX) |
void | SetCurrentSector (cSector *apSetor) |
virtual cSector * | GetCurrentSector () const |
bool | IsInSector (cSector *apSector) |
int | GetGlobalRenderCount () |
void | SetGlobalRenderCount (int alX) |
Public Member Functions inherited from hpl::iEntity | |
iEntity (tString asName) | |
virtual void | UpdateLogic (float afTimeStep) |
tString & | GetName () |
void | SetName (const tString &asName) |
iNode * | GetParent () |
void | SetParent (iNode *apNode) |
bool | HasParent () |
bool | IsActive () |
void | SetActive (bool abActive) |
Public Member Functions inherited from hpl::iSaveObject | |
int | GetSaveObjectId () |
void | SetIsSaved (bool abX) |
bool | IsSaved () |
Additional Inherited Members | |
Protected Attributes inherited from hpl::iRenderable | |
cMatrixf | m_mtxInvModel |
cMatrixf | m_mtxPrevious |
bool | mbIsOneSided |
cVector3f | mvOneSidedNormal |
int | mlLastMatrixCount |
bool | mbStatic |
bool | mbForceShadow |
int | mlRenderCount |
int | mlPrevRenderCount |
int | mlCalcScaleMatrixCount |
cVector3f | mvCalcScale |
bool | mbRendered |
float | mfZ |
Protected Attributes inherited from hpl::iEntity3D | |
cMatrixf | m_mtxLocalTransform |
cMatrixf | m_mtxWorldTransform |
cBoundingVolume | mBoundingVolume |
bool | mbUpdateBoundingVolume |
bool | mbApplyTransformToBV |
bool | mbTransformUpdated |
int | mlGlobalRenderCount |
int | mlCount |
tString | msSourceFile |
tEntityCallbackList | mlstCallbacks |
tRenderContainerDataList | mlstRenderContainerData |
tEntity3DList | mlstChildren |
iEntity3D * | mpParent |
cSector * | mpCurrentSector |
int | mlIteratorCount |
Protected Attributes inherited from hpl::iEntity | |
iNode * | mpParentNode |
tString | msName |
bool | mbIsVisible |
bool | mbIsActive |
Protected Attributes inherited from hpl::iSaveObject | |
iSaveData * | mpSaveData |
void hpl::cBeam::SetSize | ( | const cVector2f & | avSize | ) |
Set the size. X= the thickness of the line, width of texture used. Y = the length that one texture height takes.
avSize |
|
virtual |
Should return a different number each time the renderable model matrix is updated. never -1
Implements hpl::iRenderable.