AtmospherePackage::AtmospherePackage(GameObjectManagerPtr pManager) { m_pManager = pManager; m_classes.push_back(ComponentClass("Atmosphere.SkyDome", "Atmosphere", "Sky Dome", &Create_Component<Impl_SkyDome>)); }
void CorePackage::RegisterClasses() { m_classes.push_back(ComponentClass(L"MeshData", L"Mesh", L"Mesh Data", &CorePackage::Create_MeshData)); m_classes.push_back(ComponentClass(L"MeshRenderer", L"Mesh", L"Mesh Renderer", &CorePackage::Create_MeshRenderer)); m_classes.push_back(ComponentClass(L"PropertyManager", L"Misc", L"Property Manager", &CorePackage::Create_PropertyManager)); /*m_classes.push_back(ComponentClass(L"WorldMeshRenderer", L"Mesh", L"World Mesh Renderer", &Package::Create_WorldMeshRenderer)); */ m_classes.push_back(ComponentClass(L"DirectionalLight", L"Light", L"Directional Light", &CorePackage::Create_DirectionalLight)); m_classes.push_back(ComponentClass(L"PointLight", L"Light", L"Point Light", &CorePackage::Create_PointLight)); m_classes.push_back(ComponentClass(L"SpotLight", L"Light", L"Spot Light", &CorePackage::Create_SpotLight)); m_classes.push_back(ComponentClass(L"SkyLight", L"Light", L"Sky Light", &CorePackage::Create_SkyLight)); m_classes.push_back(ComponentClass(L"SkyBox", L"Camera", L"SkyBox", &CorePackage::Create_SkyBox)); m_classes.push_back(ComponentClass(L"Camera", L"Camera", L"Camera", &CorePackage::Create_Camera)); m_classes.push_back(ComponentClass(L"Sky", L"Rendering", L"Sky", &CorePackage::Create_Sky)); m_classes.push_back(ComponentClass(L"PostEffectList", L"Camera", L"PostEffectList", &CorePackage::Create_PostEffectList)); m_classes.push_back(ComponentClass(L"LuaBehavior", L"Script", L"Lua script Behavior", &CorePackage::Create_LuaBehavior)); }