Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/Rasterizer/RAS_IRasterizer.h
| Show First 20 Lines • Show All 291 Lines • ▼ Show 20 Lines | public: | ||||
| /** | /** | ||||
| */ | */ | ||||
| virtual const MT_Point3& GetCameraPosition() = 0; | virtual const MT_Point3& GetCameraPosition() = 0; | ||||
| virtual bool GetCameraOrtho() = 0; | virtual bool GetCameraOrtho() = 0; | ||||
| /** | /** | ||||
| * Fog | * Fog | ||||
| */ | */ | ||||
| virtual void SetFog(short type, float start, float dist, float intensity, float r, float g, float b) = 0; | virtual void SetFog(short type, float start, float dist, float intensity, float color[3]) = 0; | ||||
| virtual void SetFogColor(float r, float g,float b) = 0; | |||||
| virtual void SetFogStart(float start) = 0; | |||||
| virtual void SetFogEnd(float end) = 0; | |||||
| virtual void DisplayFog() = 0; | virtual void DisplayFog() = 0; | ||||
| virtual void EnableFog(bool enable) = 0; | virtual void EnableFog(bool enable) = 0; | ||||
| virtual bool IsFogEnabled() = 0; | |||||
| virtual void SetBackColor(float red, float green, float blue, float alpha) = 0; | virtual void SetBackColor(float color[3]) = 0; | ||||
| /** | /** | ||||
| * \param drawingmode = KX_BOUNDINGBOX, KX_WIREFRAME, KX_SOLID, KX_SHADED or KX_TEXTURED. | * \param drawingmode = KX_BOUNDINGBOX, KX_WIREFRAME, KX_SOLID, KX_SHADED or KX_TEXTURED. | ||||
| */ | */ | ||||
| virtual void SetDrawingMode(int drawingmode) = 0; | virtual void SetDrawingMode(int drawingmode) = 0; | ||||
| /** | /** | ||||
| * \return the current drawing mode: KX_BOUNDINGBOX, KX_WIREFRAME, KX_SOLID, KX_SHADED or KX_TEXTURED. | * \return the current drawing mode: KX_BOUNDINGBOX, KX_WIREFRAME, KX_SOLID, KX_SHADED or KX_TEXTURED. | ||||
| ▲ Show 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | public: | ||||
| */ | */ | ||||
| virtual void SetDiffuse(float difX,float difY, float difZ, float diffuse) = 0; | virtual void SetDiffuse(float difX,float difY, float difZ, float diffuse) = 0; | ||||
| /** | /** | ||||
| * Sets the emissive color component of the lighting equation. | * Sets the emissive color component of the lighting equation. | ||||
| */ | */ | ||||
| virtual void SetEmissive(float eX, float eY, float eZ, float e) = 0; | virtual void SetEmissive(float eX, float eY, float eZ, float e) = 0; | ||||
| virtual void SetAmbientColor(float red, float green, float blue) = 0; | virtual void SetAmbientColor(float color[3]) = 0; | ||||
| virtual void SetAmbient(float factor) = 0; | virtual void SetAmbient(float factor) = 0; | ||||
| /** | /** | ||||
| * Sets a polygon offset. z depth will be: z1 = mult*z0 + add | * Sets a polygon offset. z depth will be: z1 = mult*z0 + add | ||||
| */ | */ | ||||
| virtual void SetPolygonOffset(float mult, float add) = 0; | virtual void SetPolygonOffset(float mult, float add) = 0; | ||||
| virtual void DrawDebugLine(const MT_Vector3 &from, const MT_Vector3 &to, const MT_Vector3& color) = 0; | virtual void DrawDebugLine(const MT_Vector3 &from, const MT_Vector3 &to, const MT_Vector3& color) = 0; | ||||
| ▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines | |||||