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>
impl<'a> EngineRootMotionCheck<'a>
Sourcepub fn new(
source: &'a LoadedSource,
provenance: Option<&'a PredictionProvenanceV6>,
roles: &'a ResolvedRoles,
measurements: &'a [ClipMeasurements],
) -> Result<Self, PredictionRuleError>
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<'_>
impl Check for EngineRootMotionCheck<'_>
Source§fn id(&self) -> &'static str
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
fn allows_severity_off(&self) -> bool
Whether an explicitly selected and applicable check may be disabled
with
severity = "off". Read moreSource§fn applicability(&self, _ctx: &CheckCtx<'_>) -> Applicability
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
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
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
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
fn enabled_by_default(&self) -> bool
Whether the check runs when its configuration has no explicit
severity setting. Read moreAuto Trait Implementations§
impl<'a> Freeze for EngineRootMotionCheck<'a>
impl<'a> RefUnwindSafe for EngineRootMotionCheck<'a>
impl<'a> Send for EngineRootMotionCheck<'a>
impl<'a> Sync for EngineRootMotionCheck<'a>
impl<'a> Unpin for EngineRootMotionCheck<'a>
impl<'a> UnsafeUnpin for EngineRootMotionCheck<'a>
impl<'a> UnwindSafe for EngineRootMotionCheck<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more