xref: /aosp_15_r20/external/flatbuffers/tests/MyGame/Example/Vec3T.java (revision 890232f25432b36107d06881e0a25aaa6b473652)
1 // automatically generated by the FlatBuffers compiler, do not modify
2 
3 package MyGame.Example;
4 
5 import java.nio.*;
6 import java.lang.*;
7 import java.util.*;
8 import com.google.flatbuffers.*;
9 
10 public class Vec3T {
11   private float x;
12   private float y;
13   private float z;
14   private double test1;
15   private int test2;
16   private MyGame.Example.TestT test3;
17 
getX()18   public float getX() { return x; }
19 
setX(float x)20   public void setX(float x) { this.x = x; }
21 
getY()22   public float getY() { return y; }
23 
setY(float y)24   public void setY(float y) { this.y = y; }
25 
getZ()26   public float getZ() { return z; }
27 
setZ(float z)28   public void setZ(float z) { this.z = z; }
29 
getTest1()30   public double getTest1() { return test1; }
31 
setTest1(double test1)32   public void setTest1(double test1) { this.test1 = test1; }
33 
getTest2()34   public int getTest2() { return test2; }
35 
setTest2(int test2)36   public void setTest2(int test2) { this.test2 = test2; }
37 
getTest3()38   public MyGame.Example.TestT getTest3() { return test3; }
39 
setTest3(MyGame.Example.TestT test3)40   public void setTest3(MyGame.Example.TestT test3) { this.test3 = test3; }
41 
42 
Vec3T()43   public Vec3T() {
44     this.x = 0.0f;
45     this.y = 0.0f;
46     this.z = 0.0f;
47     this.test1 = 0.0;
48     this.test2 = 0;
49     this.test3 = new MyGame.Example.TestT();
50   }
51 }
52 
53