示例#1
0
 public static Offset <StepKeyFrameData_Int32> CreateStepKeyFrameData_Int32(FlatBufferBuilder builder,
                                                                            int time  = 0,
                                                                            int value = 0)
 {
     builder.StartObject(2);
     StepKeyFrameData_Int32.AddValue(builder, value);
     StepKeyFrameData_Int32.AddTime(builder, time);
     return(StepKeyFrameData_Int32.EndStepKeyFrameData_Int32(builder));
 }
示例#2
0
 public static StepKeyFrameData_Int32 GetRootAsStepKeyFrameData_Int32(ByteBuffer _bb, StepKeyFrameData_Int32 obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }
 public static StepKeyFrameData_Int32 GetRootAsStepKeyFrameData_Int32(ByteBuffer _bb, StepKeyFrameData_Int32 obj)
 {
     return (obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }