getVec2 method
Effective value of a vec2 parameter, the assigned value if set, otherwise the sidecar default. Throws on an unknown name or wrong type.
Implementation
Vector2 getVec2(String name) {
final f = _readFloats(_slot(name, FmatType.vec2).offsetBytes, 2);
return Vector2(f[0], f[1]);
}