3#include "Engine/Component/LogicComponent.h"
Logic(Entities::Scene *owningScene)
Constructs a logic component owned by a scene.
~WindTrail() override=default
Destroys the wind trail component.
void beginPlay() override
Called when the component is added to the scene or the game starts.
static constexpr bool IsUnique
This component type is unique per actor.
std::shared_ptr< Entities::SceneNode > emitterNode_
std::shared_ptr< Entities::SceneNode > getEmitterNode() const
Gets the scene node used as the trail emitter.
void endPlay() override
Called when the component is removed or the game ends.
static constexpr const char * ComponentName
Component registry name.
WindTrail(Entities::Scene *owningScene)
Constructs a wind trail component for a scene.
Represents a node in the scene graph, containing information about its position, rotation,...
Owns scene entities, actor lifetime, and the scene graph root.