getValue static method

dynamic getValue(
  1. String k
)

Implementation

static getValue(String k) {
  if (k == "scale") {
    return scale;
  } else if (k == "translation") {
    return translation;
  } else if (k == "rotation") {
    return rotation;
  } else if (k == "weights") {
    return weights;
  } else if (k == "position") {
    return position;
  } else {
    throw ("GLTFHelper PATH_PROPERTIES getValue k: ${k} is not support ");
  }
}