3#include "pixelbullet/filesystem/virtual_path.h"
4#include "pixelbullet/filesystem/virtual_path_serialization.h"
5#include "pixelbullet/serialization/node.h"
19 node[
"enabled"] << component.enabled;
20 node[
"graphAsset"] << component.graph_asset;
24inline const Node& operator>>(
const Node& node, AnimationGraphComponent& component)
26 if (node.HasProperty(
"enabled"))
28 node[
"enabled"] >> component.enabled;
32 component.enabled =
true;
35 if (node.HasProperty(
"graphAsset"))
37 node[
"graphAsset"] >> component.graph_asset;
41 component.graph_asset = {};
Represents a hierarchical node capable of storing various data types and supporting YAML serializatio...
Definition node.h:45
Definition virtual_path.h:10
Definition animation_graph_component.h:10