public void SetVector4(Node node, Vector4 value) { Vector4Node n = node as Vector4Node; if (n == null) { throw new System.Exception("Wrong type"); } n.Value = value; }
public Vector4 GetVector4(Node node) { Vector4Node n = node as Vector4Node; if (n == null) { throw new System.Exception("Wrong type"); } return(n.Value); }