• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // automatically generated by the FlatBuffers compiler, do not modify
2 
3 package MyGame.Example;
4 
5 import com.google.flatbuffers.BaseVector;
6 import com.google.flatbuffers.BooleanVector;
7 import com.google.flatbuffers.ByteVector;
8 import com.google.flatbuffers.Constants;
9 import com.google.flatbuffers.DoubleVector;
10 import com.google.flatbuffers.FlatBufferBuilder;
11 import com.google.flatbuffers.FloatVector;
12 import com.google.flatbuffers.IntVector;
13 import com.google.flatbuffers.LongVector;
14 import com.google.flatbuffers.ShortVector;
15 import com.google.flatbuffers.StringVector;
16 import com.google.flatbuffers.Struct;
17 import com.google.flatbuffers.Table;
18 import com.google.flatbuffers.UnionVector;
19 import java.nio.ByteBuffer;
20 import java.nio.ByteOrder;
21 
22 public class Vec3T {
23   private float x;
24   private float y;
25   private float z;
26   private double test1;
27   private int test2;
28   private MyGame.Example.TestT test3;
29 
getX()30   public float getX() { return x; }
31 
setX(float x)32   public void setX(float x) { this.x = x; }
33 
getY()34   public float getY() { return y; }
35 
setY(float y)36   public void setY(float y) { this.y = y; }
37 
getZ()38   public float getZ() { return z; }
39 
setZ(float z)40   public void setZ(float z) { this.z = z; }
41 
getTest1()42   public double getTest1() { return test1; }
43 
setTest1(double test1)44   public void setTest1(double test1) { this.test1 = test1; }
45 
getTest2()46   public int getTest2() { return test2; }
47 
setTest2(int test2)48   public void setTest2(int test2) { this.test2 = test2; }
49 
getTest3()50   public MyGame.Example.TestT getTest3() { return test3; }
51 
setTest3(MyGame.Example.TestT test3)52   public void setTest3(MyGame.Example.TestT test3) { this.test3 = test3; }
53 
54 
Vec3T()55   public Vec3T() {
56     this.x = 0.0f;
57     this.y = 0.0f;
58     this.z = 0.0f;
59     this.test1 = 0.0;
60     this.test2 = 0;
61     this.test3 = new MyGame.Example.TestT();
62   }
63 }
64 
65