Example #1
0
            public static Vector3 ToValue(byte[] table, int index)
            {
                UnionVector3 bt = new UnionVector3();

                bt.SetBytes(table, index);
                return(bt.value);
            }
Example #2
0
            public static byte[] ToBytes(Vector3 val)
            {
                UnionVector3 bt = new UnionVector3();

                bt.value = val;
                return(bt.bytes);
            }
Example #3
0
 public static byte[] ToBytes(Vector3 val)
 {
     return(UnionVector3.ToBytes(val));
 }
Example #4
0
 public static int ToValue(out Vector3 ret, byte[] bytes, int index)
 {
     ret = UnionVector3.ToValue(bytes, index);
     return(UnionVector3.Size);
 }