EvansJ3 Posted June 12, 2020 Share Posted June 12, 2020 I'm trying to figure out how to use getVec4 with the Variable class. Documentation doesn't list C# definitions for this class and .getVec4 method is not correct. Anyone got the correct one? Link to comment
karpych11 Posted June 15, 2020 Share Posted June 15, 2020 Hello, Instead of method getVec4(), you need to use property Vec4. For example: vec4 color = new vec4(0.25f, 0.45f, 0.55f, 1.0f); Variable variable = new Variable(color); vec4 variable_color = variable.Vec4; Link to comment
Recommended Posts