Crates.io | bevy_serialization_extras |
lib.rs | bevy_serialization_extras |
version | 0.7.0 |
source | src |
created_at | 2023-10-26 17:37:04.702458 |
updated_at | 2024-11-20 19:40:43.551117 |
description | A crate for managing serialization with moonshine_save + wrappers. |
homepage | |
repository | https://github.com/rydb/bevy_serialization_extras |
max_upload_size | |
id | 1014795 |
size | 971,607 |
A library that allows the editing of non-reflect components via wrapper components, and serialization of these components via moonshine-save
:
plugins
] for components// Component <-> WrapperComponent
.add_plugins(SerializeComponentFor::<AsyncCollider, ColliderFlag>::default())
// AssetHandle <-> WrapperComponent
.add_plugins(SerializeAssetFor::<StandardMaterial, MaterialFlag>::default())
// WrapperComponent -> AssetHandle
.add_plugins(DeserializeAssetFrom::<GeometryFlag, Mesh>::default())
// Query -> Component,
.add_plugins(SerializeQueryFor::<Linkage, ImpulseJoint, JointFlag>::default())
See: https://github.com/rydb/bevy_serialization_urdf
//Query <-> Asset
.add_plugins(SerializeManyAsOneFor::<LinkQuery, Urdf>::default())
Allows edititing unserializable(non-reflect) implementing components through the wrappers that convert to them
E.G: Edit Rapier's ImpulseJoint
through JointFlag
type registration for wrappers through ManagedTypeRegistration
trait
A visualization util to list serializable/unserializable components(W.I.P)
For implementations of plugin trait bounds, see /Wrappers