Example #1
0
        public void SetVector3(Node node, Vector3 value)
        {
            Vector3Node n = node as Vector3Node;

            if (n == null)
            {
                throw new System.Exception("Wrong type");
            }
            n.Value = value;
        }
Example #2
0
        public Vector3 GetVector3(Node node)
        {
            Vector3Node n = node as Vector3Node;

            if (n == null)
            {
                throw new System.Exception("Wrong type");
            }
            return(n.Value);
        }