getAttrib method

VertexAttrib getAttrib (String name)

Implementation

VertexAttrib getAttrib(String name) {
  for (VertexAttrib attrib in attribs) {
    if (attrib.name == name) {
      return attrib;
    }
  }
  return null;
}