Skip to main content

EngineRootMotionCheck

Struct EngineRootMotionCheck 

Source
pub struct EngineRootMotionCheck<'a> { /* private fields */ }
Expand description

Engine-owned check for the exact Unity Generic revision-2 FBX profile.

The indexed measurements are borrowed from the caller so the check consumes the same measurement rows later published by the output boundary. They must be in normalized animsmith_core::Document::clips order.

Implementations§

Source§

impl<'a> EngineRootMotionCheck<'a>

Source

pub fn new( source: &'a LoadedSource, provenance: Option<&'a PredictionProvenanceV6>, roles: &'a ResolvedRoles, measurements: &'a [ClipMeasurements], ) -> Result<Self, PredictionRuleError>

Bind one optional V6 sidecar, explicit role resolution, and the exact indexed measurement rows produced for this load.

§Errors

Returns PredictionRuleError when the provenance does not reproduce the supplied source and raw-path inventory, the measurement cardinality differs from the normalized document, or the exact Unity tuple carries a profile other than the frozen registry record.

Trait Implementations§

Source§

impl Check for EngineRootMotionCheck<'_>

Source§

fn id(&self) -> &'static str

Stable identifier, e.g. "loop-seam". Used in config, JSON output, and --select.
Source§

fn allows_severity_off(&self) -> bool

Whether an explicitly selected and applicable check may be disabled with severity = "off". Read more
Source§

fn applicability(&self, _ctx: &CheckCtx<'_>) -> Applicability

Whether this document and configuration declare work for the check. Read more
Source§

fn evaluate(&self, _ctx: &CheckCtx<'_>) -> CheckOutput

Evaluate every modelled work unit, returning content findings and explicit coverage. Missing prerequisites are gaps, never findings.
Source§

fn prediction_facet_demand_v2( &self, _ctx: &CheckCtx<'_>, ) -> PredictionFacetDemandV2

Bounded V2 facet demand, collected before current-output evaluation.
Source§

fn evaluate_with_prediction_allocation_v2( &self, _ctx: &CheckCtx<'_>, allocation: PredictionRuleAllocationV2<'_>, ) -> CheckOutput

Evaluate after the catalog allocator has reserved this check’s slots.
Source§

fn enabled_by_default(&self) -> bool

Whether the check runs when its configuration has no explicit severity setting. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.