// Copyright (C) 2009-present, Panagiotis Christopoulos Charitos and contributors. // All rights reserved. // Code licensed under the BSD License. // http://www.anki3d.org/LICENSE #include #include namespace anki { SceneComponent::SceneComponent([[maybe_unused]] SceneNode* node, SceneComponentType type) : m_uuid(SceneGraph::getSingleton().getNewUuid()) , m_type(U8(type)) { } U32 SceneComponent::regenerateUuid() { m_uuid = SceneGraph::getSingleton().getNewUuid(); return m_uuid; } } // namespace anki