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)); }
public KeyFrameData GetKeyFrames(KeyFrameData obj, int j) { int o = __offset(8); return(o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null); }
public static KeyFrameData GetRootAsKeyFrameData(ByteBuffer _bb, KeyFrameData obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }