#pragma once #include "staticscenenode.h" class cGatheringSceneNodeParam : public cStaticSceneNodeParam { public: cGatheringSceneNodeParam(); public: /// ¼­¹ö °ü¸®¿ë À妽º unsigned long mGatheringIdx; float mAppandZ; }; inline cGatheringSceneNodeParam::cGatheringSceneNodeParam() : mGatheringIdx(UINT_MAX) , mAppandZ(0.0f) { } class cGatheringSceneNode : public cStaticSceneNode { friend class cSceneManager; public: inline float GetAppendZ() { return mAppendZ; } inline void SetAppendZ( float z ) { mAppendZ = z; } virtual void SetTranslate( const NiPoint3& trans ); protected: cGatheringSceneNode( eSceneNodeType type = SCENENODE_GATHERING ); virtual ~cGatheringSceneNode(); /// ÃʱâÈ­ virtual bool Init( cGatheringSceneNodeParam& param ); virtual void Process( unsigned long deltaTime, unsigned long accumTime ); protected: unsigned long mGatheringIdx; float mAppendZ; };