5#include "../../EntityDefinition.h"
66template<>
inline Cogs::StringView getName<Cogs::Core::SceneComponent>() {
return "SceneComponent"; }
Base class for Component instances.
Contains information on how the entity behaves in the scene.
std::vector< EntityPtr > children
Contains all child entities owned by this component.
static void registerType()
Register the type in the type system.
bool visible
If the entity this component is a member of should be visible.
ComponentModel::ComponentHandle parent
Handle to the scene component of the parent entity.
bool pickable
If the entity this component is a member of should be pickable.
Provides a weakly referenced view over the contents of a string.
Contains all Cogs related functionality.
Handle to a Component instance.
static ComponentHandle Empty()
Returns an empty, invalid handle. Will evaluate to false if tested against using operator bool().