Exemple #1
0
        public void SetVector4(Node node, Vector4 value)
        {
            Vector4Node n = node as Vector4Node;

            if (n == null)
            {
                throw new System.Exception("Wrong type");
            }
            n.Value = value;
        }
Exemple #2
0
        public Vector4 GetVector4(Node node)
        {
            Vector4Node n = node as Vector4Node;

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