copyDistanceConstraint method

void copyDistanceConstraint(
  1. ActorDistanceConstraint node,
  2. ActorArtboard resetArtboard
)

Implementation

void copyDistanceConstraint(
    ActorDistanceConstraint node, ActorArtboard resetArtboard) {
  copyTargetedConstraint(node, resetArtboard);
  _distance = node._distance;
  _mode = node._mode;
}