AutoMovie API
    Preparing search index...

    Function measureAutoMovieHumanoidBody

    • Read the anthropometric measure of a canonical humanoid from its rig and physical profile at rest, whatever produced them: a generated Human, a parametric humanoid or an imported character.

      The rig must be in the canonical VRM 1.0 frame at its T-pose rest (+Y up, facing +Z, the left toward +X, the floor at Y = 0). Heights and spacings are read from rest joint centres (sides averaged); segment lengths are joint-to-joint distances; the stature, the head radius, the foot extents (over the foot and, when the profile jointed them, the toes), the chest extents and the limb radii are read from the colliders of the matching profile segments by their exact axis bounds at rest (physicalShapeBounds). The hand runs from the wrist to the farthest point along the forearm of the hand segment's colliders and its finger segments' when the profile has them, the middle fingertip. A limb radius is the largest sphere or capsule radius on its segment, or half the smaller transverse extent of a box. The eye height falls back to the head joint when the rig has no eyes.

      Parameters

      • skeleton: IAutoMovieSkeleton

        The canonical rig.

      • profile: IAutoMoviePhysicalProfile

        Its physical profile, segments keyed by rig bones.

      • Optionalneutral: IPrepared

        Optional genuine internal bounds epoch for this unchanged profile; withSurfaces owns its preparation and release.

      Returns IAutoMovieBodyMeasure

      The measure, metres and kilograms.

      When a bone or segment the measure needs is missing.