CCNode的属性说明
class CC_DLL CCNode : public CCObject { protected://属性列表 float m_fRotationX; ///x轴旋转角度 float m_fRotationY; ///y轴旋转角度 float m_fScaleX; ///x轴缩放比例 float m_fScaleY; ///y轴缩放比例 float m_fVertexZ; ///z轴设置 CCPoint m_obPosition; ///节点坐标 float m_fSkewX; ///x轴扭曲角度 float m_fSkewY; ///y轴扭曲角度 CCPoint m_obAnchorPointInPoints; ///锚点坐标 CCPoint m_obAnchorPoint; ///缺省锚点坐标 CCSize m_obContentSize; ///节点大小 CCAffineTransform m_sAdditionalTransform; ///变换信息 CCAffineTransform m_sTransform; ///变换信息 CCAffineTransform m_sInverse; ///变换信息 CCCamera *m_pCamera; ///摄像头对象 CCGridBase *m_pGrid; ///网格对象 int m_nZOrder; ///Z轴设置,影响图层顺序 CCArray *m_pChildren; ///所有子节点 CCNode *m_pParent; ///所在父节点 int m_nTag; ///当前节点标识 void *m_pUserData; ///用户调用指针 CCObject *m_pUserObject; ///用户调用对象 CCGLProgram *m_pShaderProgram; ///OpenGL shader ccGLServerState m_eGLServerState; ///OpenGL servier side state unsigned int m_uOrderOfArrival; /// CCScheduler *m_pScheduler; ///调度类完成计划任务调度 CCActionManager *m_pActionManager; ///动作管理器 bool m_bRunning; ///标识当前节点是否在运行 bool m_bTransformDirty; ///< transform dirty flag bool m_bInverseDirty; ///< transform dirty flag bool m_bAdditionalTransformDirty; /// bool m_bVisible; ///标识当前节点是否可见 bool m_bIgnoreAnchorPointForPosition; ///在CCLayer和CCScene中使用 bool m_bReorderChildDirty; ///记录子节点的 dirty flag int m_nScriptHandler; ///在Javascript 和 Lua 编程使用 int m_nUpdateScriptHandler; ///在Javascript 和 Lua 编程使用 ccScriptType m_eScriptType; ///标识Javascript或Lua 脚本 CCComponentContainer *m_pComponentContainer; ///组件字典 ....... }