示例#1
0
 public static Offset <KeyFrameData> CreateKeyFrameData(FlatBufferBuilder builder,
                                                        KeyFrameUnion data_type = (KeyFrameUnion)0,
                                                        int data = 0)
 {
     builder.StartObject(2);
     KeyFrameData.AddData(builder, data);
     KeyFrameData.AddDataType(builder, data_type);
     return(KeyFrameData.EndKeyFrameData(builder));
 }
示例#2
0
 public KeyFrameData GetKeyFrames(KeyFrameData obj, int j)
 {
     int o = __offset(8); return(o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null);
 }
示例#3
0
 public static KeyFrameData GetRootAsKeyFrameData(ByteBuffer _bb, KeyFrameData obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }