Пример #1
0
 /// <summary>
 /// Sets the DomNode attribute to the given Vec3F</summary>
 /// <param name="domNode">DomNode holding value</param>
 /// <param name="attribute">Attribute of the DomNode that contains the data</param>
 /// <param name="v">DomNode attribute as Vec3F</param>
 public static void SetVector(DomNode domNode, AttributeInfo attribute, Vec3F v)
 {
     domNode.SetAttribute(attribute, v.ToArray());
 }
Пример #2
0
 /// <summary>
 /// Sets the DomNode attribute to the given Vec3F</summary>
 /// <param name="domNode">DomNode holding value</param>
 /// <param name="attribute">Attribute of the DomNode that contains the data</param>
 /// <param name="v">DomNode attribute as Vec3F</param>
 public static void SetVector(DomNode domNode, AttributeInfo attribute, Vec3F v)
 {
     domNode.SetAttribute(attribute, v.ToArray());
 }