getStretch method

bool getStretch()

When true and the target is out of range, the parent bone is scaled to reach it.

For two bone IK: 1) the child bone's local Y translation is set to 0, 2) stretch is not applied if getSoftness is

0, and 3) if the parent bone has local nonuniform scale, stretch is not applied.

Implementation

bool getStretch() {
  return _bindings.spine_ik_constraint_get_stretch(_constraint) == -1;
}