Exemplo n.º 1
0
 public static Offset <StepKeyFrameData_Int16> CreateStepKeyFrameData_Int16(FlatBufferBuilder builder,
                                                                            int time    = 0,
                                                                            short value = 0)
 {
     builder.StartObject(2);
     StepKeyFrameData_Int16.AddTime(builder, time);
     StepKeyFrameData_Int16.AddValue(builder, value);
     return(StepKeyFrameData_Int16.EndStepKeyFrameData_Int16(builder));
 }
Exemplo n.º 2
0
 public static StepKeyFrameData_Int16 GetRootAsStepKeyFrameData_Int16(ByteBuffer _bb, StepKeyFrameData_Int16 obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }
 public static StepKeyFrameData_Int16 GetRootAsStepKeyFrameData_Int16(ByteBuffer _bb, StepKeyFrameData_Int16 obj)
 {
     return (obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }