Exemple #1
0
 public static Offset <LinearKeyFrameData_Int32> CreateLinearKeyFrameData_Int32(FlatBufferBuilder builder,
                                                                                int time  = 0,
                                                                                int value = 0)
 {
     builder.StartObject(2);
     LinearKeyFrameData_Int32.AddValue(builder, value);
     LinearKeyFrameData_Int32.AddTime(builder, time);
     return(LinearKeyFrameData_Int32.EndLinearKeyFrameData_Int32(builder));
 }
Exemple #2
0
 public static LinearKeyFrameData_Int32 GetRootAsLinearKeyFrameData_Int32(ByteBuffer _bb, LinearKeyFrameData_Int32 obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }
 public static LinearKeyFrameData_Int32 GetRootAsLinearKeyFrameData_Int32(ByteBuffer _bb, LinearKeyFrameData_Int32 obj)
 {
     return (obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }