blender_mesh/custom_property.rs
1/// A [Blender custom property][custom-property]:
2/// [custom-property]: https://docs.blender.org/manual/en/latest//files/data_blocks.html#custom-properties
3#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
4#[allow(missing_docs)]
5pub enum CustomProperty {
6 Float(f32),
7 Int(i32),
8 String(String),
9 Vec(Vec<CustomPropertyVecItem>),
10}
11
12#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
13#[allow(missing_docs)]
14pub enum CustomPropertyVecItem {
15 Float(f32),
16 Int(i32),
17 String(String),
18}