/* ========================================================================== * ÀÛ ¼º ÀÚ : À̼ø±Ô * ÀÛ ¼º ÀÏ : 2007.01.23 * ³» ¿ë : ¾È°³ °ü¸®ÀÚ * ÁÖÀÇ»çÇ× : *===========================================================================*/ #pragma once /// ¾È°³ °ü¸®ÀÚ class cFogAgent { public: static cFogAgent* mpFogAgent; cFogAgent(); ~cFogAgent(); /// ¾È°³ ¼Ó¼ºÀ» ºÎÂø //void AttachFogProperty( NiAVObject* pObj ); /// ¾È°³¸¦ ¼³Á¤ //void SetFog( const NiColor& color, float depth ); void SetFogColor( const NiColor& color ); void SetFogDepth( float depth ); NiFogProperty* GetFogProperty() const; protected: /// ¾È°³ ¼Ó¼º NiFogPropertyPtr mpFogProp; }; inline NiFogProperty* cFogAgent::GetFogProperty() const { return mpFogProp; } #define FOGAGENT cFogAgent::mpFogAgent