public void SetVector3(Node node, Vector3 value) { Vector3Node n = node as Vector3Node; if (n == null) { throw new System.Exception("Wrong type"); } n.Value = value; }
public Vector3 GetVector3(Node node) { Vector3Node n = node as Vector3Node; if (n == null) { throw new System.Exception("Wrong type"); } return(n.Value); }