setWeightAttribute method

dynamic setWeightAttribute(
  1. dynamic name
)

Implementation

setWeightAttribute(name) {
  weightAttribute = name ? geometry.getAttribute(name) : null;

  return this;
}