Get Quaternion - CSharp System.Xml

CSharp examples for System.Xml:XML Attribute

Description

Get Quaternion

Demo Code


using System.Xml.Linq;
using System;/*from w  ww  .  ja va  2  s  .c  o  m*/

public class Main{
        public static Quaternion GetQuaternion(this XElement elem)
        {
            var v = new Quaternion();
            GetVector4(elem, v);
            return v;
        }
}

Related Tutorials