...

Text file src/github.com/google/flatbuffers/tests/MyGame/Example/Vec3T.java

Documentation: github.com/google/flatbuffers/tests/MyGame/Example

     1// automatically generated by the FlatBuffers compiler, do not modify
     2
     3package MyGame.Example;
     4
     5import com.google.flatbuffers.BaseVector;
     6import com.google.flatbuffers.BooleanVector;
     7import com.google.flatbuffers.ByteVector;
     8import com.google.flatbuffers.Constants;
     9import com.google.flatbuffers.DoubleVector;
    10import com.google.flatbuffers.FlatBufferBuilder;
    11import com.google.flatbuffers.FloatVector;
    12import com.google.flatbuffers.IntVector;
    13import com.google.flatbuffers.LongVector;
    14import com.google.flatbuffers.ShortVector;
    15import com.google.flatbuffers.StringVector;
    16import com.google.flatbuffers.Struct;
    17import com.google.flatbuffers.Table;
    18import com.google.flatbuffers.UnionVector;
    19import java.nio.ByteBuffer;
    20import java.nio.ByteOrder;
    21
    22public 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
    30  public float getX() { return x; }
    31
    32  public void setX(float x) { this.x = x; }
    33
    34  public float getY() { return y; }
    35
    36  public void setY(float y) { this.y = y; }
    37
    38  public float getZ() { return z; }
    39
    40  public void setZ(float z) { this.z = z; }
    41
    42  public double getTest1() { return test1; }
    43
    44  public void setTest1(double test1) { this.test1 = test1; }
    45
    46  public int getTest2() { return test2; }
    47
    48  public void setTest2(int test2) { this.test2 = test2; }
    49
    50  public MyGame.Example.TestT getTest3() { return test3; }
    51
    52  public void setTest3(MyGame.Example.TestT test3) { this.test3 = test3; }
    53
    54
    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

View as plain text