14 entt::meta_factory<animation_importer_meta::root_motion_meta>{}
15 .type(
"root_motion_meta"_hs)
20 .data<&animation_importer_meta::root_motion_meta::keep_position_y>(
"keep_position_y"_hs)
25 .data<&animation_importer_meta::root_motion_meta::keep_position_xz>(
"keep_position_xz"_hs)
30 .data<&animation_importer_meta::root_motion_meta::keep_rotation>(
"keep_rotation"_hs)
35 .data<&animation_importer_meta::root_motion_meta::keep_in_place>(
"keep_in_place"_hs)
42 entt::meta_factory<animation_importer_meta>{}
43 .type(
"animation_importer_meta"_hs)
48 .func<&animation_importer_meta::get_meta_type>(
"get_meta_type"_hs)
50 .func<&animation_importer_meta::as_derived>(
"as_derived"_hs)
60 try_save(ar, ser20::make_nvp(
"keep_position_y", obj.keep_position_y));
61 try_save(ar, ser20::make_nvp(
"keep_position_xz", obj.keep_position_xz));
62 try_save(ar, ser20::make_nvp(
"keep_rotation", obj.keep_rotation));
64 try_save(ar, ser20::make_nvp(
"keep_in_place", obj.keep_in_place));
71 try_load(ar, ser20::make_nvp(
"keep_position_y", obj.keep_position_y));
72 try_load(ar, ser20::make_nvp(
"keep_position_xz", obj.keep_position_xz));
73 try_load(ar, ser20::make_nvp(
"keep_rotation", obj.keep_rotation));
75 try_load(ar, ser20::make_nvp(
"keep_in_place", obj.keep_in_place));
82 try_save(ar, ser20::make_nvp(
"base_type", ser20::base_class<asset_importer_meta>(&obj)));
83 try_save(ar, ser20::make_nvp(
"root_motion", obj.root_motion));
90 try_load(ar, ser20::make_nvp(
"base_type", ser20::base_class<asset_importer_meta>(&obj)));
91 try_load(ar, ser20::make_nvp(
"root_motion", obj.root_motion));
attributes::value_type attribute
std::map< std::string, meta_any > attributes
BinaryInputArchive iarchive_binary_t
simd::JSONOutputArchive oarchive_associative_t
BinaryOutputArchive oarchive_binary_t
simd::JSONInputArchive iarchive_associative_t
#define SAVE_INSTANTIATE(cls, Archive)
auto try_save(Archive &ar, ser20::NameValuePair< T > &&t, const hpp::source_location &loc=hpp::source_location::current()) -> bool
#define LOAD_INSTANTIATE(cls, Archive)
auto try_load(Archive &ar, ser20::NameValuePair< T > &&t, const hpp::source_location &loc=hpp::source_location::current()) -> bool