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