Public Member Functions |
| | Camera (SceneManager *pSnMan, const math::Vector &Positon, const math::Vector &LookAt, const math::Vector &UpDir) |
| | Constructor.
|
| virtual | ~Camera () |
| | Destructor.
|
| virtual void | PreRender (float elapsedTime=0.0f) |
| | Karhayee ke Ghabl az render bayad anjam shvad.
|
| virtual void | Render () |
| | Render kardane Object.
|
| virtual void | PostRender () |
| | Karhaee ke bad az render bayad anjam beshe.
|
| virtual void | MoveBF (float Speed) |
| | Harekate dorbin be jolo va aghab.
|
| virtual void | MoveRL (float Speed) |
| | Harekate dorbin be Rast va Chap.
|
| virtual void | Rotate (float Angle, const math::Vector &Axis=math::Vector(0.0f, 1.0f, 0.0f)) |
| | Charkhesh dorbin dor yek bordar.
|
| virtual void | AutoRotateByMouse (bool Enable=true, float Speed=1) |
| | Be sorate Automatic dorbin tavasote mouse micharkhad.
|
| virtual void | RotateAroundPoint (float Angle, const math::Vector *Center=NULL, const math::Vector &Axis=math::Vector(0.0f, 1.0f, 0.0f)) |
| | Charkhondan dorbin be dore yek noghte ke bishtar be darde bazi haye sevom shakhs mikhore.
|
| virtual const math::Vector & | GetRightDir () |
| | Returns camera right direction.
|
| virtual const math::Vector & | GetUpDir () |
| | Returns camera up direction.
|
| virtual void | SetUpDir (const math::Vector &v) |
| | Sets camera up direction.
|
| virtual bool | AddEffect (efx::EffectType p, efx::Effect **ppOut) |
| | Ezafe kardane effect be in dorbin ke felan hich meghdari ro ghabol nemikone.
|
| virtual void | Draw (bool WithMaterial, bool WithTransform, bool bPosition, bool bNormalTexcoord, bool bTangentBinormal) |
| virtual void | SetPosition (const math::Vector &v) |
| | Set the camera position.
|
| virtual const math::Vector & | GetPosition () const |
| | Returns the camera position.
|
| virtual void | SetTarget (const math::Vector &v) |
| | Sets the camera target point.
|
| virtual const math::Vector & | GetTarget () const |
| | Returns the camera target.
|
| virtual void | SetProjectionMatrix (const math::Matrix *mat) |
| | Sets the Projection matrix.
|
| const math::Matrix & | GetViewMatrix () const |
| | Returns the view matrix.
|
| const math::Matrix & | GetProjectionMatrix () const |
| | Returns the projection matrix.
|
| const math::Frustum * | GetFrustum () const |
| | Returns the view frustum.
|
| int | GetViewportWidth () const |
| int | GetViewportHeight () const |
| NodeType | GetType () const |
| | Returns the node type.
|
| void | SetFov (float fov) |
| | Sets field of view.
|
| float | GetFov () const |
| float | GetFarValue () const |
| float | GetNearValue () const |
| void | SetFarValue (float f) |
| void | SetNearValue (float f) |
| bool | IsChanged () const |
| | SceneNode () |
| | Constructor.
|
| virtual | ~SceneNode () |
| | Destructor.
|
| virtual void | AddChild (SceneNode *child) |
| | Adds a node as child.
|
| virtual void | SetSceneManager (SceneManager *smgr) |
| | Sets the scene manager and renderer pointer.
|
| virtual void | SetRotation (const math::Vector &v) |
| | Set the rotation of the scenenode.
|
| virtual void | SetScale (const math::Vector &v) |
| | Set the scale of the scenenode.
|
| virtual void | SetAutomaticCulling (bool isTrue) |
| | Set Cutting Enable or Disable.
|
| virtual void | SetVisible (bool isVisible) |
| | Set Visible Enable or Disable.
|
| virtual bool | GetVisible () |
| | Get Visible.
|
| virtual bool | IsVisibleInFrame () |
| | Is it visible in this frame?
|
| virtual const math::Vector & | GetRotation () const |
| | Returns the node rotation.
|
| virtual const math::Vector & | GetScale () const |
| | Returns the node scale.
|
| virtual math::Matrix * | GetAbsoluteMatrix () const |
| | Get the absolute matrix.
|
| virtual math::Matrix * | GetFinalMatrix () |
| | Get the final matrix.
|
| virtual u32 | GetMaterialCount () |
| | Get the count of materials this node has.
|
| virtual gfx::Material * | GetMaterial (u32 Index) |
| virtual math::Sphere * | GetBoundingBox () |
| | Returns the node bounding box.
|
| virtual math::AABB * | GetAxisAlignedBoundingBox () |
| | Returns the node Axis aligned bounding box.
|
| virtual void | RemoveChild (SceneNode *child) |
| virtual void | RemoveChildren () |
| | Removes all children of this node.
|
| virtual const SceneNode * | GetParent () |
| | Returns the node parent.
|
| virtual void | SetParent (SceneNode *parent) |
| | Sets the node parent.
|
| virtual void | SetName (const char *name) |
| | Sets the node name.
|
| virtual core::String * | GetName () |
| | Gets the node name.
|
| virtual void | SetID (int ID) |
| | Sets the node ID.
|
| virtual int | GetID () |
| | Gets the node ID.
|
| void | EnableShadow (bool enable) |
| bool | HasShadow () const |
| virtual void | UpdateFinalMat () |
| | Update final matrix.
|
| | KgeUnknown () |
| | Constructor.
|
| virtual | ~KgeUnknown () |
| | Destructor.
|
| virtual void | AddRef () |
| | Add a reference to the object.
|
| virtual void | DecRef () |
| | Decrease a reference from the object. if its reference count get 0 then the object will destroy.
|
| u32 | GetRefCount () |
| | Return resource reference count.
|
| const char * | GetDebugText () |
| | returns the instance debug text.
|
Definition at line 23 of file Camera.h.