Example #1
0
 public static Offset <Position3d> CreatePosition3d(FlatBufferBuilder builder,
                                                    float x = 0.0f,
                                                    float y = 0.0f,
                                                    float z = 0.0f)
 {
     builder.StartTable(3);
     Position3d.AddZ(builder, z);
     Position3d.AddY(builder, y);
     Position3d.AddX(builder, x);
     return(Position3d.EndPosition3d(builder));
 }
Example #2
0
 public static Position3d GetRootAsPosition3d(ByteBuffer _bb, Position3d obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }