AutoMovie API
    Preparing search index...

    Function validateTransformScalars

    • Append shape and scalar findings for an unchecked translation/rotation/scale record. Every component must be finite, each scale axis strictly positive, and rotation's quaternion norm within 1e-6 of one. No value is normalized. Malformed nested fields are reported independently at their owning paths.

      Parameters

      • props: IAutoMovieValidateTransformScalars.IProps

        Inputs to validateTransformScalars, which checks a transform object and independently reports malformed translation, rotation and scale fields. All components must be finite, scale axes strictly positive and quaternion norm within 1e-6 of one. It neither normalizes values nor mutates the transform.

        Findings append through collector.items and collector methods; existing findings are preserved and offending values may be retained by reference. Collector or input-access exceptions propagate without rolling back prior findings. This operation returns no admitted transform or boolean.

        • collector: IAutoMovieViolationCollector

          Borrowed mutable finding sink; its items array and push/unitQuaternion methods receive synchronous appends, and thrown errors propagate.

        • label: string

          Human-readable subject used in correction text; not an identifier lookup or validation rule.

        • path: string

          Location prefix to which ".translation", ".rotation", ".scale" and component suffixes are appended literally.

        • transform: unknown

          Unchecked TRS value with translation, rotation and scale fields; no caller assertion of its structure is required.

      Returns void