Ejemplo n.º 1
0
 public static Offset <FBVector3> CreateFBVector3(FlatBufferBuilder builder,
                                                  float x = 0.0f,
                                                  float y = 0.0f,
                                                  float z = 0.0f)
 {
     builder.StartObject(3);
     FBVector3.AddZ(builder, z);
     FBVector3.AddY(builder, y);
     FBVector3.AddX(builder, x);
     return(FBVector3.EndFBVector3(builder));
 }
Ejemplo n.º 2
0
 public static FBVector3 GetRootAsFBVector3(ByteBuffer _bb, FBVector3 obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }