AutoMovie API
    Preparing search index...

    Function evaluateShotPredicate

    • Measure one typed shot-contract predicate in the compiled artifacts at a shot-local second and compare it with its declared value.

      A joint-angle predicate reads the actor's sampled pose: the joint's angle on the named axis, or zero when the pose leaves that joint at rest. A position predicate reads one world coordinate of its selector, and a distance predicate the Euclidean distance in metres between two selectors. == passes within tolerance either way, <= passes up to value + tolerance, and >= from value - tolerance.

      A reference the reader cannot resolve, such as an absent node, a rig without the named bone, an uncompiled motion, an absent landmark or an uncompiled formation, records actual: null and fails. A non-finite derived measurement and any exception during measurement become that same failed null result; missing-reference errors are not distinguished from unexpected sampling errors here, so this record alone cannot diagnose the underlying exception. Predicate values, operators and tolerances are caller-admitted finite data.

      Parameters

      Returns IAutoMovieCompiledPredicateResult

      The predicate, the measured scalar or null, and whether it passed.