pub struct ClipExpectations {
pub looping: Option<bool>,
pub max_loop_position_delta_m: Option<f64>,
pub max_loop_rotation_delta_deg: Option<f64>,
pub max_loop_velocity_delta_mps: Option<f64>,
pub max_loop_angular_velocity_delta_degps: Option<f64>,
pub duration_s: Option<Pinned>,
pub speed_mps: Option<Pinned>,
pub in_place: Option<bool>,
pub fps: Option<f64>,
pub animates_bones: Option<Vec<String>>,
}Expand description
What the author declares about one clip (or a glob of clips).
Fields§
§looping: Option<bool>The clip is a cyclic loop; loop checks apply.
max_loop_position_delta_m: Option<f64>loop-closure: per-clip maximum model-space position delta in
metres. When unset, the global loop-closure setting (or its
built-in default) applies.
max_loop_rotation_delta_deg: Option<f64>loop-closure: per-clip maximum model-space rotation delta in
degrees. When unset, the global loop-closure setting (or its
built-in default) applies.
max_loop_velocity_delta_mps: Option<f64>loop-seam-vel: per-clip maximum incoming/outgoing model-space
linear-velocity difference in metres per second. When unset, the
global loop-seam-vel setting (or its built-in default) applies.
max_loop_angular_velocity_delta_degps: Option<f64>loop-seam-rot: per-clip maximum incoming/outgoing model-space
angular-velocity difference in degrees per second. When unset, the
global loop-seam-rot setting (or its built-in default) applies.
duration_s: Option<Pinned>Expected clip duration in seconds; consumed by the
duration-sanity check. Its value must be finite and positive,
and its tolerance must be finite and non-negative.
speed_mps: Option<Pinned>Declared locomotion speed (m/s) carried by the clip’s root motion.
in_place: Option<bool>The clip is authored in place (no net root travel); consumed by
the in-place check (and exempts an in-place clip from
root-motion-speed).
fps: Option<f64>Authored frame rate; consumed by the fps check (keys must land
on the 1/fps grid).
animates_bones: Option<Vec<String>>Bones that must carry keyframes and actually move
(missing-bones presence + frozen-bone rotation floor).
Trait Implementations§
Source§impl Clone for ClipExpectations
impl Clone for ClipExpectations
Source§fn clone(&self) -> ClipExpectations
fn clone(&self) -> ClipExpectations
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more