Version: 5.3
public Vector4 GetVector (string propertyName);
public Vector4 GetVector (int nameID);

설명

Get a named vector value.

Four component vectors and colors are the same in Unity shaders. GetVector does exactly the same as GetColor just the input data type is different (xyzw in the vector becomes rgba in the color).

See Also: GetColor, SetVector, Shader.PropertyToID.