Expand description
§vrm-spec
Data structures for the VRM Format.
Schema definitions: https://github.com/vrm-c/vrm-specification
§Example
use vrm_spec::vrmc_vrm_1_0::{VRMCVrmSchema, VRMC_VRM};
let file = include_bytes!("../../../fixtures/VRM1_Constraint_Twist_Sample.vrm");
let (doc, _, _) = gltf::import_slice(file).expect("ok");
let value = doc.extension_value(VRMC_VRM).expect("exist");
let vrmc_vrm: VRMCVrmSchema = serde_json::from_value(value.to_owned()).expect("ok");
// do something with vrmModules§
- vrm_0_0
- Data structures for the
VRM0.0 glTF Extension. - vrmc_
materials_ mtoon_ 1_ 0 - Data structures for the
VRMC_materials_mtoon1.0 glTF Extension. - vrmc_
spring_ bone_ 1_ 0 - Data structures for the
VRMC_springBone1.0 glTF Extension. - vrmc_
vrm_ 1_ 0 - Data structures for the
VRMC_vrm1.0 glTF Extension. - vrmc_
vrm_ animation_ 1_ 0 - Data structures for the
VRMC_vrm_animation1.0 glTF Extension.