3#include "pixelbullet/serialization/node.h"
12 std::string active_clip;
17 return lhs.enabled == rhs.enabled && lhs.active_clip == rhs.active_clip;
20inline bool operator!=(
const AnimationStateComponent& lhs,
const AnimationStateComponent& rhs)
27 node[
"enabled"] << component.enabled;
28 node[
"activeClip"] << component.active_clip;
34 if (node.HasProperty(
"enabled"))
36 node[
"enabled"] >> component.enabled;
40 component.enabled =
true;
43 if (node.HasProperty(
"activeClip"))
45 node[
"activeClip"] >> component.active_clip;
49 component.active_clip.clear();
Represents a hierarchical node capable of storing various data types and supporting YAML serializatio...
Definition node.h:45
Definition animation_state_component.h:10