public static Quaternion ToValue(byte[] table, int index) { UnionQuaternion bt = new UnionQuaternion(); bt.SetBytes(table, index); return(bt.value); }
public static byte[] ToBytes(Quaternion val) { UnionQuaternion bt = new UnionQuaternion(); bt.value = val; return(bt.bytes); }
public static byte[] ToBytes(Quaternion val) { return(UnionQuaternion.ToBytes(val)); }
public static int ToValue(out Quaternion ret, byte[] bytes, int index) { ret = UnionQuaternion.ToValue(bytes, index); return(UnionQuaternion.Size); }