Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hey, I cant figure out how can i get data from vec4 baseType. My code is like:
props['PaneBGColorLinear'+a] = {
description: 'X1,Y1,X2,Y1 for linear gradient',
baseType: 'VEC4',
defaultValue: '0,0,0,0',
};
var vec = this.getPropertyEx('PaneBGColorLinear'+b);
bgColor = { x1: vec.x, y1: vec.y, x2: vec.z, y2: vec.w };