1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
use gltf_derive::Validate; use serde_derive::{Serialize, Deserialize}; /// A keyframe animation. #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Animation {} /// Targets an animation's sampler at a node's property. #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct Channel {} /// The index of the node and TRS property that an animation channel targets. #[derive(Clone, Debug, Default, Deserialize, Serialize, Validate)] pub struct Target {} /// Defines a keyframe graph but not its target. #[derive(Clone, Debug, Default, Deserialize, Serialize, Validate)] pub struct Sampler {}