12#ifndef ZOAPPLOOKATBOARD_H
13#define ZOAPPLOOKATBOARD_H
15#include "toymaker/sim_system.hpp"
24 UrLookAtBoard() : SimObjectAspect<UrLookAtBoard>{0} {}
25 inline static std::string getSimObjectAspectTypeName() {
return "UrLookAtBoard"; }
26 static std::shared_ptr<ToyMaker::BaseSimObjectAspect> create(
const nlohmann::json& jsonAspectProperties);
27 std::shared_ptr<ToyMaker::BaseSimObjectAspect>
clone()
const override;
30 glm::vec3 mOffset { 0.f, 1.f, 2.f };
An object containing closely related methods and data, and exposing object lifecycle and application ...
Definition sim_system.hpp:956
void onActivated() override
Callback for when the aspect is activated (after it is attached to an active SimObject,...
Definition ur_look_at_board.cpp:19
std::shared_ptr< ToyMaker::BaseSimObjectAspect > clone() const override
A method which must be overridden to specify how a new aspect should be constructed as a copy of this...
Definition ur_look_at_board.cpp:13